#123F9F#123F9F
#123F9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.163 H 262.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #123F9F |
|---|---|
| RGB | rgb(18, 63, 159) |
| HSL | hsl(221, 80%, 35%) |
| HSV | hsv(221, 89%, 62%) |
| CMYK | cmyk(88.7%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(29.88, 23.93, -55.99) |
| CIE-LCH | lch(29.88, 60.89, 293.14°) |
| OKLab | oklab(40.41% -0.021 -0.1621) |
| OKLCH | oklch(40.41% 0.163 262.6) |
| XYZ | xyz(8.2827, 6.1858, 33.5516) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.04
Sapphire (survey)
#2138AB
ΔE00 3.86
Cobalt (survey)
#1E488F
ΔE00 4.18
Darkish Blue
#014182
ΔE00 5.29
Blue Blue
#2242C7
ΔE00 6.01
Twilight Blue
#0A437A
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123F9F #9F7212
analogous
#12869F #123F9F #2C129F
triadic
#123F9F #9F123F #3F9F12
tetradic
#123F9F #9F1286 #9F7212 #129F2C
square
#123F9F #9F1286 #9F7212 #129F2C
split-complementary
#123F9F #9F2C12 #869F12
monochromatic
#061331 #0C2968 #123F9F #1855D6 #4277EA
Accessibility & contrast
On white
9.39
#123F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#123F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123F9F
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123F9F | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #123f9f; /* rgb */ color: rgb(18, 63, 159); /* oklch */ color: oklch(40.4% 0.163 262.6);
Tailwind
colors: {
custom: {
50: '#6e73bc',
500: '#123f9f',
950: '#000000',
},
}SCSS
$custom: #123f9f; $custom-light: #6e73bc; $custom-dark: #000000;
JSON
{
"hex": "#123f9f",
"rgb": {
"r": 18,
"g": 63,
"b": 159
},
"hsl": {
"h": 220.851,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.40413,
"c": 0.16341,
"h": 262.6
},
"luminance": 0.06187
}Semantic roles & 50–950 ramp
primary
#123F9F
secondary
#CA9F43
accent
#B732F6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81