#124D7E#124D7E

#124D7E is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.0% C 0.101 H 248.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#124D7E
RGBrgb(18, 77, 126)
HSLhsl(207, 75%, 28%)
HSVhsv(207, 86%, 49%)
CMYKcmyk(85.7%, 38.9%, 0%, 50.6%)
CIE-LABlab(31.67, 0.72, -32.85)
CIE-LCHlch(31.67, 32.85, 271.26°)
OKLaboklab(41.04% -0.0365 -0.0937)
OKLCHoklch(41.04% 0.101 248.7)
XYZxyz(6.6678, 6.9419, 20.7231)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D7E #7E4312
analogous
#127E79 #124D7E #12177E
triadic
#124D7E #7E124D #4D7E12
tetradic
#124D7E #79127E #7E4312 #177E12
square
#124D7E #79127E #7E4312 #177E12
split-complementary
#124D7E #7E1217 #7E7912
monochromatic
#04101B #0A2C48 #124D7E #1A6EB4 #2A8EE1

Accessibility & contrast

On white

8.79
#124D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#124D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D7E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D7E#FFFFFF#000000##FFFFFF
##124D7E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#25467D
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #124d7e;
/* rgb */ color: rgb(18, 77, 126);
/* oklch */ color: oklch(41.0% 0.101 248.7);
Tailwind
colors: {
  custom: {
    50: '#647ea3',
    500: '#124d7e',
    950: '#000000',
  },
}
SCSS
$custom: #124d7e;
$custom-light: #647ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#124d7e",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 207.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41039,
    "c": 0.10058,
    "h": 248.7
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#124D7E
secondary
#B47038
accent
#8B36F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #124D7E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#124D7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva