#0F2D5F#0F2D5F
#0F2D5F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.096 H 260.1°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2D5F |
|---|---|
| RGB | rgb(15, 45, 95) |
| HSL | hsl(218, 73%, 22%) |
| HSV | hsv(218, 84%, 37%) |
| CMYK | cmyk(84.2%, 52.6%, 0%, 62.7%) |
| CIE-LAB | lab(19.24, 9.55, -32.94) |
| CIE-LCH | lch(19.24, 34.29, 286.17°) |
| OKLab | oklab(30.69% -0.0165 -0.0947) |
| OKLCH | oklch(30.69% 0.096 260.1) |
| XYZ | xyz(3.2002, 2.8042, 11.1969) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.33
Marine Blue
#01386A
ΔE00 4.65
Navy Blue
#1B2A4A
ΔE00 4.70
Darkish Blue
#014182
ΔE00 7.73
Twilight Blue
#0A437A
ΔE00 7.99
Navy (survey)
#01153E
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2D5F #5F410F
analogous
#0F555F #0F2D5F #190F5F
triadic
#0F2D5F #5F0F2D #2D5F0F
tetradic
#0F2D5F #5F0F55 #5F410F #0F5F19
square
#0F2D5F #5F0F55 #5F410F #0F5F19
split-complementary
#0F2D5F #5F190F #555F0F
monochromatic
#040D1A #07142A #0F2D5F #174694 #205FC9
Accessibility & contrast
On white
13.45
#0F2D5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#0F2D5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2D5F
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2D5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2D5F | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F3361
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #0f2d5f; /* rgb */ color: rgb(15, 45, 95); /* oklch */ color: oklch(30.7% 0.096 260.1);
Tailwind
colors: {
custom: {
50: '#5c658d',
500: '#0f2d5f',
950: '#000000',
},
}SCSS
$custom: #0f2d5f; $custom-light: #5c658d; $custom-dark: #000000;
JSON
{
"hex": "#0f2d5f",
"rgb": {
"r": 15,
"g": 45,
"b": 95
},
"hsl": {
"h": 217.5,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.3069,
"c": 0.09616,
"h": 260.1
},
"luminance": 0.02805
}Semantic roles & 50–950 ramp
primary
#0F2D5F
secondary
#987232
accent
#AB38EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D