#123261#123261
#123261 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.092 H 258.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #123261 |
|---|---|
| RGB | rgb(18, 50, 97) |
| HSL | hsl(216, 69%, 23%) |
| HSV | hsv(216, 81%, 38%) |
| CMYK | cmyk(81.4%, 48.5%, 0%, 62%) |
| CIE-LAB | lab(21.10, 7.16, -31.25) |
| CIE-LCH | lch(21.10, 32.06, 282.90°) |
| OKLab | oklab(32.2% -0.0186 -0.0896) |
| OKLCH | oklch(32.2% 0.092 258.3) |
| XYZ | xyz(3.5469, 3.2725, 11.7517) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.43
Marine Blue
#01386A
ΔE00 3.13
Navy Blue
#1B2A4A
ΔE00 5.12
Darkish Blue
#014182
ΔE00 6.32
Twilight Blue
#0A437A
ΔE00 6.40
Prussian Blue
#004577
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123261 #614112
analogous
#125A61 #123261 #191261
triadic
#123261 #611232 #326112
tetradic
#123261 #61125A #614112 #126119
square
#123261 #61125A #614112 #126119
split-complementary
#123261 #611912 #5A6112
monochromatic
#050D1A #08172D #123261 #1C4D95 #2567C8
Accessibility & contrast
On white
12.69
#123261 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#123261 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123261
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123261 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123261 | 1.00 | 12.69 | 1.65 | 12.69 |
| #FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193763
Deuteranopia (green-blind)
#082F60
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #123261; /* rgb */ color: rgb(18, 50, 97); /* oklch */ color: oklch(32.2% 0.092 258.3);
Tailwind
colors: {
custom: {
50: '#5d698e',
500: '#123261',
950: '#000000',
},
}SCSS
$custom: #123261; $custom-light: #5d698e; $custom-dark: #000000;
JSON
{
"hex": "#123261",
"rgb": {
"r": 18,
"g": 50,
"b": 97
},
"hsl": {
"h": 215.696,
"s": 68.696,
"l": 22.549
},
"oklch": {
"l": 0.32199,
"c": 0.09151,
"h": 258.3
},
"luminance": 0.03273
}Semantic roles & 50–950 ramp
primary
#123261
secondary
#997136
accent
#A53CEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D