#124D5D#124D5D

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

Color values

HEX#124D5D
RGBrgb(18, 77, 93)
HSLhsl(193, 68%, 22%)
HSVhsv(193, 81%, 36%)
CMYKcmyk(80.6%, 17.2%, 0%, 63.5%)
CIE-LABlab(29.98, -12.36, -14.71)
CIE-LCHlch(29.98, 19.21, 229.98°)
OKLaboklab(39.13% -0.0485 -0.0411)
OKLCHoklch(39.13% 0.064 220.3)
XYZxyz(4.8783, 6.2261, 11.2985)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D5D #5D2212
analogous
#125D48 #124D5D #12285D
triadic
#124D5D #5D124D #4D5D12
tetradic
#124D5D #48125D #5D2212 #285D12
square
#124D5D #48125D #5D2212 #285D12
split-complementary
#124D5D #5D1228 #5D4812
monochromatic
#05151A #08232A #124D5D #1C7790 #26A2C4

Accessibility & contrast

On white

9.35
#124D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#124D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D5D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D5D#FFFFFF#000000##FFFFFF
##124D5D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5E
Deuteranopia (green-blind)
#39435D
Tritanopia (blue-blind)
#005252
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #124d5d;
/* rgb */ color: rgb(18, 77, 93);
/* oklch */ color: oklch(39.1% 0.064 220.3);
Tailwind
colors: {
  custom: {
    50: '#5d7f8b',
    500: '#124d5d',
    950: '#000000',
  },
}
SCSS
$custom: #124d5d;
$custom-light: #5d7f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#124d5d",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 93
  },
  "hsl": {
    "h": 192.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39133,
    "c": 0.06357,
    "h": 220.3
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#124D5D
secondary
#954A35
accent
#623DEA
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #124D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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