#123162#123162
#123162 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.094 H 259.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #123162 |
|---|---|
| RGB | rgb(18, 49, 98) |
| HSL | hsl(217, 69%, 23%) |
| HSV | hsv(217, 82%, 38%) |
| CMYK | cmyk(81.6%, 50%, 0%, 61.6%) |
| CIE-LAB | lab(20.85, 8.31, -32.31) |
| CIE-LCH | lch(20.85, 33.36, 284.42°) |
| OKLab | oklab(32.03% -0.0174 -0.0927) |
| OKLCH | oklch(32.03% 0.094 259.4) |
| XYZ | xyz(3.5516, 3.2067, 11.9847) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.31
Marine Blue
#01386A
ΔE00 3.52
Navy Blue
#1B2A4A
ΔE00 5.13
Darkish Blue
#014182
ΔE00 6.55
Twilight Blue
#0A437A
ΔE00 6.74
Prussian Blue
#004577
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123162 #624312
analogous
#125962 #123162 #1B1262
triadic
#123162 #621231 #316212
tetradic
#123162 #621259 #624312 #12621B
square
#123162 #621259 #624312 #12621B
split-complementary
#123162 #621B12 #596212
monochromatic
#050D1A #09172E #123162 #1B4B96 #2565C9
Accessibility & contrast
On white
12.79
#123162 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#123162 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123162
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123162 | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163664
Deuteranopia (green-blind)
#032F61
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #123162; /* rgb */ color: rgb(18, 49, 98); /* oklch */ color: oklch(32.0% 0.094 259.4);
Tailwind
colors: {
custom: {
50: '#5d688f',
500: '#123162',
950: '#000000',
},
}SCSS
$custom: #123162; $custom-light: #5d688f; $custom-dark: #000000;
JSON
{
"hex": "#123162",
"rgb": {
"r": 18,
"g": 49,
"b": 98
},
"hsl": {
"h": 216.75,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.32029,
"c": 0.09436,
"h": 259.4
},
"luminance": 0.03207
}Semantic roles & 50–950 ramp
primary
#123162
secondary
#9A7336
accent
#A83CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D