#1A2F6E#1A2F6E
#1A2F6E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.113 H 266.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2F6E |
|---|---|
| RGB | rgb(26, 47, 110) |
| HSL | hsl(225, 62%, 27%) |
| HSV | hsv(225, 76%, 43%) |
| CMYK | cmyk(76.4%, 57.3%, 0%, 56.9%) |
| CIE-LAB | lab(21.50, 15.92, -39.05) |
| CIE-LCH | lch(21.50, 42.17, 292.18°) |
| OKLab | oklab(32.91% -0.0073 -0.1124) |
| OKLCH | oklch(32.91% 0.113 266.3) |
| XYZ | xyz(4.2560, 3.3780, 15.1765) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.74
Marine Blue
#01386A
ΔE00 5.68
Navy Blue
#1B2A4A
ΔE00 6.82
Darkish Blue
#014182
ΔE00 7.40
Midnight Blue
#191970
ΔE00 7.54
Twilight Blue
#0A437A
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2F6E #6E591A
analogous
#1A596E #1A2F6E #2F1A6E
triadic
#1A2F6E #6E1A2F #2F6E1A
tetradic
#1A2F6E #6E1A59 #6E591A #1A6E2F
square
#1A2F6E #6E1A59 #6E591A #1A6E2F
split-complementary
#1A2F6E #6E2F1A #596E1A
monochromatic
#060B19 #0E1A3D #1A2F6E #2644A0 #345ACF
Accessibility & contrast
On white
12.53
#1A2F6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1A2F6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2F6E
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2F6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2F6E | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1a2f6e; /* rgb */ color: rgb(26, 47, 110); /* oklch */ color: oklch(32.9% 0.113 266.3);
Tailwind
colors: {
custom: {
50: '#646798',
500: '#1a2f6e',
950: '#000000',
},
}SCSS
$custom: #1a2f6e; $custom-light: #646798; $custom-dark: #000000;
JSON
{
"hex": "#1a2f6e",
"rgb": {
"r": 26,
"g": 47,
"b": 110
},
"hsl": {
"h": 225,
"s": 61.765,
"l": 26.667
},
"oklch": {
"l": 0.32909,
"c": 0.11269,
"h": 266.3
},
"luminance": 0.03378
}Semantic roles & 50–950 ramp
primary
#1A2F6E
secondary
#A38B41
accent
#BC43E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E