#124D5C#124D5C

#124D5C is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.1% C 0.063 H 218.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#124D5C
RGBrgb(18, 77, 92)
HSLhsl(192, 67%, 22%)
HSVhsv(192, 80%, 36%)
CMYKcmyk(80.4%, 16.3%, 0%, 63.9%)
CIE-LABlab(29.93, -12.73, -14.14)
CIE-LCHlch(29.93, 19.03, 228.01°)
OKLaboklab(39.08% -0.0489 -0.0395)
OKLCHoklch(39.08% 0.063 218.9)
XYZxyz(4.8343, 6.2085, 11.0667)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D5C #5C2112
analogous
#125C46 #124D5C #12285C
triadic
#124D5C #5C124D #4D5C12
tetradic
#124D5C #46125C #5C2112 #285C12
square
#124D5C #46125C #5C2112 #285C12
split-complementary
#124D5C #5C1228 #5C4612
monochromatic
#05151A #082229 #124D5C #1C788F #26A3C2

Accessibility & contrast

On white

9.37
#124D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#124D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D5C
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D5C#FFFFFF#000000##FFFFFF
##124D5C1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444B5D
Deuteranopia (green-blind)
#3A435C
Tritanopia (blue-blind)
#005252
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124d5c;
/* rgb */ color: rgb(18, 77, 92);
/* oklch */ color: oklch(39.1% 0.063 218.9);
Tailwind
colors: {
  custom: {
    50: '#5d7f8a',
    500: '#124d5c',
    950: '#000000',
  },
}
SCSS
$custom: #124d5c;
$custom-light: #5d7f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#124d5c",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 92
  },
  "hsl": {
    "h": 192.162,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39084,
    "c": 0.06287,
    "h": 218.9
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#124D5C
secondary
#944935
accent
#613EEA
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #124D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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