#0F274C#0F274C
#0F274C is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.6% C 0.075 H 258.9°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).
Color values
| HEX | #0F274C |
|---|---|
| RGB | rgb(15, 39, 76) |
| HSL | hsl(216, 67%, 18%) |
| HSV | hsv(216, 80%, 30%) |
| CMYK | cmyk(80.3%, 48.7%, 0%, 70.2%) |
| CIE-LAB | lab(15.87, 5.69, -25.62) |
| CIE-LCH | lch(15.87, 26.24, 282.52°) |
| OKLab | oklab(27.65% -0.0144 -0.0733) |
| OKLCH | oklch(27.65% 0.075 258.9) |
| XYZ | xyz(2.2266, 2.0742, 7.1191) |
| Luminance | 0.0207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.24
Marine
#042E60
ΔE00 3.90
Navy (survey)
#01153E
ΔE00 5.95
Marine Blue
#01386A
ΔE00 6.97
Navy Blue (survey)
#001146
ΔE00 7.80
Dark
#1B2431
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F274C #4C340F
analogous
#0F454C #0F274C #150F4C
triadic
#0F274C #4C0F27 #274C0F
tetradic
#0F274C #4C0F45 #4C340F #0F4C15
square
#0F274C #4C0F45 #4C340F #0F4C15
split-complementary
#0F274C #4C150F #454C0F
monochromatic
#050D1A #050D1A #0F274C #19417F #235BB2
Accessibility & contrast
On white
14.84
#0F274C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#0F274C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F274C
14.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F274C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F274C | 1.00 | 14.84 | 1.41 | 14.84 |
| #FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#152B4D
Deuteranopia (green-blind)
#09254B
Tritanopia (blue-blind)
#003035
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #0f274c; /* rgb */ color: rgb(15, 39, 76); /* oklch */ color: oklch(27.6% 0.075 258.9);
Tailwind
colors: {
custom: {
50: '#57607e',
500: '#0f274c',
950: '#000000',
},
}SCSS
$custom: #0f274c; $custom-light: #57607e; $custom-dark: #000000;
JSON
{
"hex": "#0f274c",
"rgb": {
"r": 15,
"g": 39,
"b": 76
},
"hsl": {
"h": 216.393,
"s": 67.033,
"l": 17.843
},
"oklch": {
"l": 0.27646,
"c": 0.07473,
"h": 258.9
},
"luminance": 0.02074
}Semantic roles & 50–950 ramp
primary
#0F274C
secondary
#866531
accent
#A63EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C