#123B9E#123B9E
#123B9E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.167 H 263.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #123B9E |
|---|---|
| RGB | rgb(18, 59, 158) |
| HSL | hsl(222, 80%, 35%) |
| HSV | hsv(222, 89%, 62%) |
| CMYK | cmyk(88.6%, 62.7%, 0%, 38%) |
| CIE-LAB | lab(28.71, 26.27, -57.30) |
| CIE-LCH | lch(28.71, 63.03, 294.63°) |
| OKLab | oklab(39.51% -0.0189 -0.166) |
| OKLCH | oklch(39.51% 0.167 263.5) |
| XYZ | xyz(7.9828, 5.7241, 33.0252) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.98
Cobalt
#0047AB
ΔE00 4.27
Cobalt (survey)
#1E488F
ΔE00 5.34
Darkish Blue
#014182
ΔE00 6.02
Blue Blue
#2242C7
ΔE00 6.16
Blueberry
#464196
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123B9E #9E7512
analogous
#12819E #123B9E #2F129E
triadic
#123B9E #9E123B #3B9E12
tetradic
#123B9E #9E1281 #9E7512 #129E2F
square
#123B9E #9E1281 #9E7512 #129E2F
split-complementary
#123B9E #9E2F12 #819E12
monochromatic
#051230 #0C2667 #123B9E #1850D5 #4172E9
Accessibility & contrast
On white
9.79
#123B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#123B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123B9E
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123B9E | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #123b9e; /* rgb */ color: rgb(18, 59, 158); /* oklch */ color: oklch(39.5% 0.167 263.5);
Tailwind
colors: {
custom: {
50: '#6e70bc',
500: '#123b9e',
950: '#000000',
},
}SCSS
$custom: #123b9e; $custom-light: #6e70bc; $custom-dark: #000000;
JSON
{
"hex": "#123b9e",
"rgb": {
"r": 18,
"g": 59,
"b": 158
},
"hsl": {
"h": 222.429,
"s": 79.545,
"l": 34.51
},
"oklch": {
"l": 0.39512,
"c": 0.16704,
"h": 263.5
},
"luminance": 0.05725
}Semantic roles & 50–950 ramp
primary
#123B9E
secondary
#C9A242
accent
#BD32F6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81