#123EA1#123EA1
#123EA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.167 H 263.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #123EA1 |
|---|---|
| RGB | rgb(18, 62, 161) |
| HSL | hsl(222, 80%, 35%) |
| HSV | hsv(222, 89%, 63%) |
| CMYK | cmyk(88.8%, 61.5%, 0%, 36.9%) |
| CIE-LAB | lab(29.78, 25.42, -57.36) |
| CIE-LCH | lch(29.78, 62.74, 293.90°) |
| OKLab | oklab(40.39% -0.0203 -0.1661) |
| OKLCH | oklch(40.39% 0.167 263) |
| XYZ | xyz(8.4028, 6.1460, 34.4547) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.30
Sapphire (survey)
#2138AB
ΔE00 3.35
Cobalt (survey)
#1E488F
ΔE00 4.69
Blue Blue
#2242C7
ΔE00 5.70
Darkish Blue
#014182
ΔE00 5.75
Blueberry
#464196
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123EA1 #A17512
analogous
#1286A1 #123EA1 #2D12A1
triadic
#123EA1 #A1123E #3EA112
tetradic
#123EA1 #A11286 #A17512 #12A12D
square
#123EA1 #A11286 #A17512 #12A12D
split-complementary
#123EA1 #A12D12 #86A112
monochromatic
#061433 #0C296A #123EA1 #1853D8 #4377EA
Accessibility & contrast
On white
9.42
#123EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#123EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123EA1
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123EA1 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #123ea1; /* rgb */ color: rgb(18, 62, 161); /* oklch */ color: oklch(40.4% 0.167 263.0);
Tailwind
colors: {
custom: {
50: '#6e72be',
500: '#123ea1',
950: '#000000',
},
}SCSS
$custom: #123ea1; $custom-light: #6e72be; $custom-dark: #000000;
JSON
{
"hex": "#123ea1",
"rgb": {
"r": 18,
"g": 62,
"b": 161
},
"hsl": {
"h": 221.538,
"s": 79.888,
"l": 35.098
},
"oklch": {
"l": 0.40393,
"c": 0.16733,
"h": 263
},
"luminance": 0.06147
}Semantic roles & 50–950 ramp
primary
#123EA1
secondary
#CAA145
accent
#BA31F6
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81