#124D7F#124D7F

#124D7F is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.1% C 0.102 H 249.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#124D7F
RGBrgb(18, 77, 127)
HSLhsl(208, 75%, 28%)
HSVhsv(208, 86%, 50%)
CMYKcmyk(85.8%, 39.4%, 0%, 50.2%)
CIE-LABlab(31.73, 1.13, -33.37)
CIE-LCHlch(31.73, 33.39, 271.94°)
OKLaboklab(41.1% -0.0362 -0.0953)
OKLCHoklch(41.1% 0.102 249.2)
XYZxyz(6.7326, 6.9678, 21.0646)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D7F #7F4412
analogous
#127F7A #124D7F #12167F
triadic
#124D7F #7F124D #4D7F12
tetradic
#124D7F #7A127F #7F4412 #167F12
square
#124D7F #7A127F #7F4412 #167F12
split-complementary
#124D7F #7F1216 #7F7A12
monochromatic
#04101B #0A2C49 #124D7F #1A6DB5 #2B8DE1

Accessibility & contrast

On white

8.77
#124D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124D7F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D7F#FFFFFF#000000##FFFFFF
##124D7F1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#24467E
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #124d7f;
/* rgb */ color: rgb(18, 77, 127);
/* oklch */ color: oklch(41.1% 0.102 249.2);
Tailwind
colors: {
  custom: {
    50: '#647ea4',
    500: '#124d7f',
    950: '#000000',
  },
}
SCSS
$custom: #124d7f;
$custom-light: #647ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#124d7f",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 127
  },
  "hsl": {
    "h": 207.523,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41104,
    "c": 0.10193,
    "h": 249.2
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#124D7F
secondary
#B57138
accent
#8C36F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #124D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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