#123156#123156
#123156 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.076 H 254.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #123156 |
|---|---|
| RGB | rgb(18, 49, 86) |
| HSL | hsl(213, 65%, 20%) |
| HSV | hsv(213, 79%, 34%) |
| CMYK | cmyk(79.1%, 43%, 0%, 66.3%) |
| CIE-LAB | lab(20.03, 3.18, -25.71) |
| CIE-LCH | lch(20.03, 25.90, 277.05°) |
| OKLab | oklab(31.13% -0.0201 -0.0733) |
| OKLCH | oklch(31.13% 0.076 254.6) |
| XYZ | xyz(3.0269, 2.9968, 9.2212) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 2.51
Marine Blue
#01386A
ΔE00 3.74
Navy Blue
#1B2A4A
ΔE00 4.15
Twilight Blue
#0A437A
ΔE00 7.09
Darkish Blue
#014182
ΔE00 7.33
Prussian Blue
#004577
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123156 #563712
analogous
#125356 #123156 #151256
triadic
#123156 #561231 #315612
tetradic
#123156 #561253 #563712 #125615
square
#123156 #561253 #563712 #125615
split-complementary
#123156 #561512 #535612
monochromatic
#050E19 #071423 #123156 #1D4E89 #276BBB
Accessibility & contrast
On white
13.13
#123156 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#123156 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123156
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123156 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123156 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203457
Deuteranopia (green-blind)
#152D55
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #123156; /* rgb */ color: rgb(18, 49, 86); /* oklch */ color: oklch(31.1% 0.076 254.6);
Tailwind
colors: {
custom: {
50: '#5a6886',
500: '#123156',
950: '#000000',
},
}SCSS
$custom: #123156; $custom-light: #5a6886; $custom-dark: #000000;
JSON
{
"hex": "#123156",
"rgb": {
"r": 18,
"g": 49,
"b": 86
},
"hsl": {
"h": 212.647,
"s": 65.385,
"l": 20.392
},
"oklch": {
"l": 0.31127,
"c": 0.07606,
"h": 254.6
},
"luminance": 0.02997
}Semantic roles & 50–950 ramp
primary
#123156
secondary
#8F6635
accent
#9B3FE8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C