#123E9F#123E9F
#123E9F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.165 H 262.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #123E9F |
|---|---|
| RGB | rgb(18, 62, 159) |
| HSL | hsl(221, 80%, 35%) |
| HSV | hsv(221, 89%, 62%) |
| CMYK | cmyk(88.7%, 61%, 0%, 37.6%) |
| CIE-LAB | lab(29.60, 24.62, -56.44) |
| CIE-LCH | lch(29.60, 61.57, 293.57°) |
| OKLab | oklab(40.21% -0.0204 -0.1634) |
| OKLCH | oklch(40.21% 0.165 262.9) |
| XYZ | xyz(8.2278, 6.0760, 33.5333) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.33
Sapphire (survey)
#2138AB
ΔE00 3.58
Cobalt (survey)
#1E488F
ΔE00 4.49
Darkish Blue
#014182
ΔE00 5.48
Blue Blue
#2242C7
ΔE00 5.99
Blueberry
#464196
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123E9F #9F7312
analogous
#12849F #123E9F #2D129F
triadic
#123E9F #9F123E #3E9F12
tetradic
#123E9F #9F1284 #9F7312 #129F2D
square
#123E9F #9F1284 #9F7312 #129F2D
split-complementary
#123E9F #9F2D12 #849F12
monochromatic
#061331 #0C2968 #123E9F #1853D6 #4276EA
Accessibility & contrast
On white
9.48
#123E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#123E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123E9F
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123E9F | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #123e9f; /* rgb */ color: rgb(18, 62, 159); /* oklch */ color: oklch(40.2% 0.165 262.9);
Tailwind
colors: {
custom: {
50: '#6e72bc',
500: '#123e9f',
950: '#000000',
},
}SCSS
$custom: #123e9f; $custom-light: #6e72bc; $custom-dark: #000000;
JSON
{
"hex": "#123e9f",
"rgb": {
"r": 18,
"g": 62,
"b": 159
},
"hsl": {
"h": 221.277,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.40209,
"c": 0.16465,
"h": 262.9
},
"luminance": 0.06077
}Semantic roles & 50–950 ramp
primary
#123E9F
secondary
#CAA043
accent
#B932F6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81