#124C5D#124C5D

#124C5D is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 38.9% C 0.064 H 222.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#124C5D
RGBrgb(18, 76, 93)
HSLhsl(194, 68%, 22%)
HSVhsv(194, 81%, 36%)
CMYKcmyk(80.6%, 18.3%, 0%, 63.5%)
CIE-LABlab(29.63, -11.76, -15.24)
CIE-LCHlch(29.63, 19.25, 232.36°)
OKLaboklab(38.86% -0.0473 -0.0427)
OKLCHoklch(38.86% 0.064 222)
XYZxyz(4.8089, 6.0872, 11.2753)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C5D #5D2312
analogous
#125D49 #124C5D #12275D
triadic
#124C5D #5D124C #4C5D12
tetradic
#124C5D #49125D #5D2312 #275D12
square
#124C5D #49125D #5D2312 #275D12
split-complementary
#124C5D #5D1227 #5D4912
monochromatic
#05151A #08222A #124C5D #1C7690 #26A0C4

Accessibility & contrast

On white

9.47
#124C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#124C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C5D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C5D#FFFFFF#000000##FFFFFF
##124C5D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5E
Deuteranopia (green-blind)
#38435D
Tritanopia (blue-blind)
#005151
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124c5d;
/* rgb */ color: rgb(18, 76, 93);
/* oklch */ color: oklch(38.9% 0.064 222.0);
Tailwind
colors: {
  custom: {
    50: '#5d7e8b',
    500: '#124c5d',
    950: '#000000',
  },
}
SCSS
$custom: #124c5d;
$custom-light: #5d7e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#124c5d",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 93
  },
  "hsl": {
    "h": 193.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.38856,
    "c": 0.06373,
    "h": 222
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#124C5D
secondary
#954B35
accent
#653DEA
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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