#123F8F#123F8F
#123F8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.141 H 261.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #123F8F |
|---|---|
| RGB | rgb(18, 63, 143) |
| HSL | hsl(218, 78%, 32%) |
| HSV | hsv(218, 87%, 56%) |
| CMYK | cmyk(87.4%, 55.9%, 0%, 43.9%) |
| CIE-LAB | lab(28.55, 17.37, -48.38) |
| CIE-LCH | lch(28.55, 51.40, 289.75°) |
| OKLab | oklab(39% -0.0221 -0.1397) |
| OKLCH | oklch(39% 0.141 261) |
| XYZ | xyz(6.9831, 5.6659, 26.7069) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.95
Darkish Blue
#014182
ΔE00 3.12
Cobalt
#0047AB
ΔE00 4.22
Twilight Blue
#0A437A
ΔE00 4.36
Marine Blue
#01386A
ΔE00 5.70
Prussian Blue
#004577
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123F8F #8F6212
analogous
#127E8F #123F8F #24128F
triadic
#123F8F #8F123F #3F8F12
tetradic
#123F8F #8F127E #8F6212 #128F24
square
#123F8F #8F127E #8F6212 #128F24
split-complementary
#123F8F #8F2412 #7E8F12
monochromatic
#040F22 #0B2759 #123F8F #1957C5 #3675E6
Accessibility & contrast
On white
9.84
#123F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#123F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123F8F
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123F8F | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #123f8f; /* rgb */ color: rgb(18, 63, 143); /* oklch */ color: oklch(39.0% 0.141 261.0);
Tailwind
colors: {
custom: {
50: '#6973b0',
500: '#123f8f',
950: '#000000',
},
}SCSS
$custom: #123f8f; $custom-light: #6973b0; $custom-dark: #000000;
JSON
{
"hex": "#123f8f",
"rgb": {
"r": 18,
"g": 63,
"b": 143
},
"hsl": {
"h": 218.4,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.39002,
"c": 0.14145,
"h": 261
},
"luminance": 0.05667
}Semantic roles & 50–950 ramp
primary
#123F8F
secondary
#C3923A
accent
#AF34F4
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080811
muted
#7A7B80