Skip to content

Philippine Blue (#0038A7)

The hex code for Philippine Blue is #0038A7. It is rgb(0, 56, 167) in RGB, hsl(220, 100%, 33%) in HSL, and about cmyk(100%, 66%, 0%, 35%) in CMYK — a dark blue. White text is the more readable choice on this background.

#0038A7
HEX#0038A7
RGBrgb(0, 56, 167)
HSLhsl(220, 100%, 33%)
HSVhsv(220, 100%, 65%)
CMYKcmyk(100%, 66%, 0%, 35%)
OKLCHoklch(39.5% 0.185 262.2)
LABlab(27.23% 22.74 -64.92)
LCHlch(27.23% 68.79 289.30)

Colors Closest to Philippine Blue

Philippine Blue is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every blue in the library.

#0038A7 Channel Values

How Philippine Blue breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 0 · G 56 · B 1678-bit channels as sent to the display
HSLH 220° · S 100% · L 33%Easiest model for building lighter and darker variants
HSVH 220° · S 100% · V 65%Matches the picker in most design tools
CMYKC 100% · M 66% · Y 0% · K 35%Approximate ink mix; confirm with an ICC profile before printing
Luminance9.89:1 vs white · 2.12:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Philippine Blue background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text9.89:1AA normal AA large AAA normal
TextBlack text2.12:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #0038A7 in the contrast checker.

Colors That Go With Philippine Blue

Pairings derived from color-wheel relationships. The complementary color sits opposite Philippine Blue; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Philippine Blue

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #0038A7.

How Philippine Blue Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#0038A7
Protanopia#3333A7
Protanomaly#2635A7
Deuteranopia#2D2DA7
Deuteranomaly#2232A7
Tritanopia#005151
Tritanomaly#00497D
Achromatopsia#434343

Test a full palette in the color blindness simulator.

Using #0038A7 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--philippine-blue: #0038A7;
CSS backgroundbackground-color: #0038A7;
Tailwind configcolors: { 'philippine-blue': '#0038A7' }
SwiftUIColor(red: 0.000, green: 0.220, blue: 0.655)
Android XML<color name="philippine_blue">#0038A7</color>
SVG fillfill="#0038A7"

More Blue Colors

Philippine Blue sits in the bluefamily. These are its neighbours across that family's full range, each with its own breakdown.

#0038A7 Frequently Asked Questions

What is the hex code for Philippine Blue?

The hex code for Philippine Blue is #0038A7. That is rgb(0, 56, 167) in RGB, hsl(220, 100%, 33%) in HSL, and approximately cmyk(100%, 66%, 0%, 35%) in CMYK.

What is the RGB value of #0038A7?

#0038A7 is rgb(0, 56, 167) — red 0, green 56, and blue 167 on the 0-255 scale.

What is the CMYK value of #0038A7?

#0038A7 converts to approximately cmyk(100%, 66%, 0%, 35%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #0038A7 be black or white?

White text is the more readable choice. #0038A7 scores 9.89:1 against white and 2.12:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #0038A7 as a CSS color keyword?

No. #0038A7 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is midnightblue (#191970) at a CIE76 distance of 18.93, which is visibly different.

Open Philippine Blue in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.