#123362#123362
#123362 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.5% C 0.092 H 257.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #123362 |
|---|---|
| RGB | rgb(18, 51, 98) |
| HSL | hsl(215, 69%, 23%) |
| HSV | hsv(215, 82%, 38%) |
| CMYK | cmyk(81.6%, 48%, 0%, 61.6%) |
| CIE-LAB | lab(21.50, 6.86, -31.27) |
| CIE-LCH | lch(21.50, 32.02, 282.38°) |
| OKLab | oklab(32.53% -0.0193 -0.0896) |
| OKLCH | oklch(32.53% 0.092 257.8) |
| XYZ | xyz(3.6371, 3.3777, 12.0132) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.64
Marine Blue
#01386A
ΔE00 2.80
Navy Blue
#1B2A4A
ΔE00 5.37
Darkish Blue
#014182
ΔE00 5.98
Twilight Blue
#0A437A
ΔE00 6.04
Prussian Blue
#004577
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123362 #624112
analogous
#125B62 #123362 #191262
triadic
#123362 #621233 #336212
tetradic
#123362 #62125B #624112 #126219
square
#123362 #62125B #624112 #126219
split-complementary
#123362 #621912 #5B6212
monochromatic
#050D1A #09182E #123362 #1B4E96 #2569C9
Accessibility & contrast
On white
12.53
#123362 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#123362 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123362
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123362 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123362 | 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)
#1B3764
Deuteranopia (green-blind)
#093061
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #123362; /* rgb */ color: rgb(18, 51, 98); /* oklch */ color: oklch(32.5% 0.092 257.8);
Tailwind
colors: {
custom: {
50: '#5d6a8f',
500: '#123362',
950: '#000000',
},
}SCSS
$custom: #123362; $custom-light: #5d6a8f; $custom-dark: #000000;
JSON
{
"hex": "#123362",
"rgb": {
"r": 18,
"g": 51,
"b": 98
},
"hsl": {
"h": 215.25,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.32526,
"c": 0.09171,
"h": 257.8
},
"luminance": 0.03378
}Semantic roles & 50–950 ramp
primary
#123362
secondary
#9A7136
accent
#A33CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D