#0F2C6A#0F2C6A
#0F2C6A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.114 H 262.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2C6A |
|---|---|
| RGB | rgb(15, 44, 106) |
| HSL | hsl(221, 75%, 24%) |
| HSV | hsv(221, 86%, 42%) |
| CMYK | cmyk(85.8%, 58.5%, 0%, 58.4%) |
| CIE-LAB | lab(19.81, 15.06, -39.21) |
| CIE-LCH | lch(19.81, 42.00, 291.01°) |
| OKLab | oklab(31.41% -0.0143 -0.1132) |
| OKLCH | oklch(31.41% 0.114 262.8) |
| XYZ | xyz(3.6983, 2.9431, 14.0060) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.89
Marine Blue
#01386A
ΔE00 5.47
Navy Blue
#1B2A4A
ΔE00 6.44
Midnight Blue
#191970
ΔE00 7.48
Darkish Blue
#014182
ΔE00 7.72
Twilight Blue
#0A437A
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2C6A #6A4D0F
analogous
#0F596A #0F2C6A #1F0F6A
triadic
#0F2C6A #6A0F2C #2C6A0F
tetradic
#0F2C6A #6A0F59 #6A4D0F #0F6A1F
square
#0F2C6A #6A0F59 #6A4D0F #0F6A1F
split-complementary
#0F2C6A #6A1F0F #596A0F
monochromatic
#040B1B #071634 #0F2C6A #1742A0 #1E59D5
Accessibility & contrast
On white
13.22
#0F2C6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#0F2C6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2C6A
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2C6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2C6A | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #0f2c6a; /* rgb */ color: rgb(15, 44, 106); /* oklch */ color: oklch(31.4% 0.114 262.8);
Tailwind
colors: {
custom: {
50: '#5f6495',
500: '#0f2c6a',
950: '#000000',
},
}SCSS
$custom: #0f2c6a; $custom-light: #5f6495; $custom-dark: #000000;
JSON
{
"hex": "#0f2c6a",
"rgb": {
"r": 15,
"g": 44,
"b": 106
},
"hsl": {
"h": 220.879,
"s": 75.207,
"l": 23.725
},
"oklch": {
"l": 0.31406,
"c": 0.11411,
"h": 262.8
},
"luminance": 0.02944
}Semantic roles & 50–950 ramp
primary
#0F2C6A
secondary
#A27F32
accent
#B636F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#05050D
muted
#7A797E