#123062#123062
#123062 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.096 H 260.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #123062 |
|---|---|
| RGB | rgb(18, 48, 98) |
| HSL | hsl(218, 69%, 23%) |
| HSV | hsv(218, 82%, 38%) |
| CMYK | cmyk(81.6%, 51%, 0%, 61.6%) |
| CIE-LAB | lab(20.53, 9.04, -32.82) |
| CIE-LCH | lch(20.53, 34.04, 285.39°) |
| OKLab | oklab(31.78% -0.0165 -0.0943) |
| OKLCH | oklch(31.78% 0.096 260.1) |
| XYZ | xyz(3.5102, 3.1239, 11.9709) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.31
Marine Blue
#01386A
ΔE00 3.88
Navy Blue
#1B2A4A
ΔE00 5.07
Darkish Blue
#014182
ΔE00 6.85
Twilight Blue
#0A437A
ΔE00 7.09
Prussian Blue
#004577
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123062 #624412
analogous
#125862 #123062 #1C1262
triadic
#123062 #621230 #306212
tetradic
#123062 #621258 #624412 #12621C
square
#123062 #621258 #624412 #12621C
split-complementary
#123062 #621C12 #586212
monochromatic
#050D1A #09172E #123062 #1B4996 #2563C9
Accessibility & contrast
On white
12.92
#123062 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#123062 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123062
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123062 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123062 | 1.00 | 12.92 | 1.62 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#143564
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #123062; /* rgb */ color: rgb(18, 48, 98); /* oklch */ color: oklch(31.8% 0.096 260.1);
Tailwind
colors: {
custom: {
50: '#5e678f',
500: '#123062',
950: '#000000',
},
}SCSS
$custom: #123062; $custom-light: #5e678f; $custom-dark: #000000;
JSON
{
"hex": "#123062",
"rgb": {
"r": 18,
"g": 48,
"b": 98
},
"hsl": {
"h": 217.5,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.31784,
"c": 0.0957,
"h": 260.1
},
"luminance": 0.03124
}Semantic roles & 50–950 ramp
primary
#123062
secondary
#9A7436
accent
#AA3CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D