#123F7C#123F7C
#123F7C is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.5% C 0.114 H 257.5°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #123F7C |
|---|---|
| RGB | rgb(18, 63, 124) |
| HSL | hsl(215, 75%, 28%) |
| HSV | hsv(215, 85%, 49%) |
| CMYK | cmyk(85.5%, 49.2%, 0%, 51.4%) |
| CIE-LAB | lab(27.12, 9.41, -38.88) |
| CIE-LCH | lch(27.12, 40.00, 283.61°) |
| OKLab | oklab(37.46% -0.0248 -0.1118) |
| OKLCH | oklch(37.46% 0.114 257.5) |
| XYZ | xyz(5.6637, 5.1382, 19.7581) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Darkish Blue
#014182
ΔE00 1.45
Twilight Blue
#0A437A
ΔE00 2.18
Marine Blue
#01386A
ΔE00 3.23
Cobalt (survey)
#1E488F
ΔE00 3.59
Prussian Blue
#004577
ΔE00 3.87
Marine
#042E60
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#123F7C #7C4F12
analogous
#12747C #123F7C #1A127C
triadic
#123F7C #7C123F #3F7C12
tetradic
#123F7C #7C1274 #7C4F12 #127C1A
square
#123F7C #7C1274 #7C4F12 #127C1A
split-complementary
#123F7C #7C1A12 #747C12
monochromatic
#040E1B #0A2447 #123F7C #1A5AB1 #2976E0
Accessibility & contrast
On white
10.36
#123F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#123F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #123F7C
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##123F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##123F7C | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D457E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #123f7c; /* rgb */ color: rgb(18, 63, 124); /* oklch */ color: oklch(37.5% 0.114 257.5);
Tailwind
colors: {
custom: {
50: '#6473a2',
500: '#123f7c',
950: '#000000',
},
}SCSS
$custom: #123f7c; $custom-light: #6473a2; $custom-dark: #000000;
JSON
{
"hex": "#123f7c",
"rgb": {
"r": 18,
"g": 63,
"b": 124
},
"hsl": {
"h": 214.528,
"s": 74.648,
"l": 27.843
},
"oklch": {
"l": 0.37457,
"c": 0.11447,
"h": 257.5
},
"luminance": 0.05139
}Semantic roles & 50–950 ramp
primary
#123F7C
secondary
#B27E38
accent
#A237F1
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06080F
muted
#7A7B7F