#0F2D5C#0F2D5C
#0F2D5C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.092 H 259.3°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2D5C |
|---|---|
| RGB | rgb(15, 45, 92) |
| HSL | hsl(217, 72%, 21%) |
| HSV | hsv(217, 84%, 36%) |
| CMYK | cmyk(83.7%, 51.1%, 0%, 63.9%) |
| CIE-LAB | lab(19.02, 8.24, -31.32) |
| CIE-LCH | lch(19.02, 32.39, 284.74°) |
| OKLab | oklab(30.45% -0.017 -0.09) |
| OKLCH | oklch(30.45% 0.092 259.3) |
| XYZ | xyz(3.0664, 2.7507, 10.4925) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.29
Navy Blue
#1B2A4A
ΔE00 4.25
Marine Blue
#01386A
ΔE00 4.61
Darkish Blue
#014182
ΔE00 7.87
Navy (survey)
#01153E
ΔE00 8.01
Twilight Blue
#0A437A
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2D5C #5C3E0F
analogous
#0F535C #0F2D5C #170F5C
triadic
#0F2D5C #5C0F2D #2D5C0F
tetradic
#0F2D5C #5C0F53 #5C3E0F #0F5C17
square
#0F2D5C #5C0F53 #5C3E0F #0F5C17
split-complementary
#0F2D5C #5C170F #535C0F
monochromatic
#040D1A #061327 #0F2D5C #184791 #2060C5
Accessibility & contrast
On white
13.55
#0F2D5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#0F2D5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2D5C
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2D5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2D5C | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13325E
Deuteranopia (green-blind)
#002B5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #0f2d5c; /* rgb */ color: rgb(15, 45, 92); /* oklch */ color: oklch(30.4% 0.092 259.3);
Tailwind
colors: {
custom: {
50: '#5b658a',
500: '#0f2d5c',
950: '#000000',
},
}SCSS
$custom: #0f2d5c; $custom-light: #5b658a; $custom-dark: #000000;
JSON
{
"hex": "#0f2d5c",
"rgb": {
"r": 15,
"g": 45,
"b": 92
},
"hsl": {
"h": 216.623,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.30445,
"c": 0.09156,
"h": 259.3
},
"luminance": 0.02751
}Semantic roles & 50–950 ramp
primary
#0F2D5C
secondary
#956E31
accent
#A839EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050C
muted
#797A7D