#124C5C#124C5C

#124C5C is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 38.8% C 0.063 H 220.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#124C5C
RGBrgb(18, 76, 92)
HSLhsl(193, 67%, 22%)
HSVhsv(193, 80%, 36%)
CMYKcmyk(80.4%, 17.4%, 0%, 63.9%)
CIE-LABlab(29.59, -12.13, -14.67)
CIE-LCHlch(29.59, 19.04, 230.41°)
OKLaboklab(38.81% -0.0478 -0.041)
OKLCHoklch(38.81% 0.063 220.6)
XYZxyz(4.7649, 6.0696, 11.0436)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C5C #5C2212
analogous
#125C47 #124C5C #12275C
triadic
#124C5C #5C124C #4C5C12
tetradic
#124C5C #47125C #5C2212 #275C12
square
#124C5C #47125C #5C2212 #275C12
split-complementary
#124C5C #5C1227 #5C4712
monochromatic
#05151A #082229 #124C5C #1C768F #26A1C2

Accessibility & contrast

On white

9.49
#124C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#124C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C5C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C5C#FFFFFF#000000##FFFFFF
##124C5C1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124c5c;
/* rgb */ color: rgb(18, 76, 92);
/* oklch */ color: oklch(38.8% 0.063 220.6);
Tailwind
colors: {
  custom: {
    50: '#5d7e8a',
    500: '#124c5c',
    950: '#000000',
  },
}
SCSS
$custom: #124c5c;
$custom-light: #5d7e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#124c5c",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 92
  },
  "hsl": {
    "h": 192.973,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38806,
    "c": 0.06299,
    "h": 220.6
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#124C5C
secondary
#944A35
accent
#633EEA
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090B
muted
#797B7C

Preview Lab

Preview with #124C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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