#123061#123061
#123061 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.094 H 259.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #123061 |
|---|---|
| RGB | rgb(18, 48, 97) |
| HSL | hsl(217, 69%, 23%) |
| HSV | hsv(217, 81%, 38%) |
| CMYK | cmyk(81.4%, 50.5%, 0%, 62%) |
| CIE-LAB | lab(20.46, 8.61, -32.29) |
| CIE-LCH | lch(20.46, 33.41, 284.93°) |
| OKLab | oklab(31.7% -0.0167 -0.0927) |
| OKLCH | oklch(31.7% 0.094 259.8) |
| XYZ | xyz(3.4633, 3.1052, 11.7238) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.26
Marine Blue
#01386A
ΔE00 3.86
Navy Blue
#1B2A4A
ΔE00 4.93
Darkish Blue
#014182
ΔE00 6.90
Twilight Blue
#0A437A
ΔE00 7.10
Prussian Blue
#004577
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123061 #614312
analogous
#125861 #123061 #1B1261
triadic
#123061 #611230 #306112
tetradic
#123061 #611258 #614312 #12611B
square
#123061 #611258 #614312 #12611B
split-complementary
#123061 #611B12 #586112
monochromatic
#050D1A #08162D #123061 #1C4A95 #2563C8
Accessibility & contrast
On white
12.95
#123061 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#123061 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123061
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123061 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123061 | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#153563
Deuteranopia (green-blind)
#012E60
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #123061; /* rgb */ color: rgb(18, 48, 97); /* oklch */ color: oklch(31.7% 0.094 259.8);
Tailwind
colors: {
custom: {
50: '#5d678e',
500: '#123061',
950: '#000000',
},
}SCSS
$custom: #123061; $custom-light: #5d678e; $custom-dark: #000000;
JSON
{
"hex": "#123061",
"rgb": {
"r": 18,
"g": 48,
"b": 97
},
"hsl": {
"h": 217.215,
"s": 68.696,
"l": 22.549
},
"oklch": {
"l": 0.31704,
"c": 0.09418,
"h": 259.8
},
"luminance": 0.03106
}Semantic roles & 50–950 ramp
primary
#123061
secondary
#997336
accent
#A93CEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D