#0F274F#0F274F
#0F274F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.080 H 260.0°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).
Color values
| HEX | #0F274F |
|---|---|
| RGB | rgb(15, 39, 79) |
| HSL | hsl(218, 68%, 18%) |
| HSV | hsv(218, 81%, 31%) |
| CMYK | cmyk(81%, 50.6%, 0%, 69%) |
| CIE-LAB | lab(16.09, 7.00, -27.31) |
| CIE-LCH | lch(16.09, 28.20, 284.38°) |
| OKLab | oklab(27.88% -0.0138 -0.0783) |
| OKLCH | oklch(27.88% 0.08 260) |
| XYZ | xyz(2.3333, 2.1169, 7.6812) |
| Luminance | 0.0212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.63
Marine
#042E60
ΔE00 3.59
Navy (survey)
#01153E
ΔE00 5.82
Marine Blue
#01386A
ΔE00 6.88
Navy Blue (survey)
#001146
ΔE00 7.50
Dark Navy
#000435
ΔE00 9.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F274F #4F370F
analogous
#0F474F #0F274F #170F4F
triadic
#0F274F #4F0F27 #274F0F
tetradic
#0F274F #4F0F47 #4F370F #0F4F17
square
#0F274F #4F0F47 #4F370F #0F4F17
split-complementary
#0F274F #4F170F #474F0F
monochromatic
#050D1A #050E1C #0F274F #194082 #235AB6
Accessibility & contrast
On white
14.75
#0F274F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#0F274F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F274F
14.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F274F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F274F | 1.00 | 14.75 | 1.42 | 14.75 |
| #FFFFFF | 14.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#05254E
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #0f274f; /* rgb */ color: rgb(15, 39, 79); /* oklch */ color: oklch(27.9% 0.080 260.0);
Tailwind
colors: {
custom: {
50: '#586081',
500: '#0f274f',
950: '#000000',
},
}SCSS
$custom: #0f274f; $custom-light: #586081; $custom-dark: #000000;
JSON
{
"hex": "#0f274f",
"rgb": {
"r": 15,
"g": 39,
"b": 79
},
"hsl": {
"h": 217.5,
"s": 68.085,
"l": 18.431
},
"oklch": {
"l": 0.27884,
"c": 0.07951,
"h": 260
},
"luminance": 0.02117
}Semantic roles & 50–950 ramp
primary
#0F274F
secondary
#896831
accent
#AA3DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C