#124D5F#124D5F

#124D5F is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.2% C 0.065 H 223.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#124D5F
RGBrgb(18, 77, 95)
HSLhsl(194, 68%, 22%)
HSVhsv(194, 81%, 37%)
CMYKcmyk(81.1%, 18.9%, 0%, 62.7%)
CIE-LABlab(30.06, -11.61, -15.85)
CIE-LCHlch(30.06, 19.65, 233.80°)
OKLaboklab(39.23% -0.0476 -0.0444)
OKLCHoklch(39.23% 0.065 223)
XYZxyz(4.9680, 6.2620, 11.7711)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D5F #5F2412
analogous
#125F4B #124D5F #12275F
triadic
#124D5F #5F124D #4D5F12
tetradic
#124D5F #4B125F #5F2412 #275F12
square
#124D5F #4B125F #5F2412 #275F12
split-complementary
#124D5F #5F1227 #5F4B12
monochromatic
#05151A #08232C #124D5F #1C7792 #25A0C6

Accessibility & contrast

On white

9.32
#124D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124D5F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D5F#FFFFFF#000000##FFFFFF
##124D5F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B60
Deuteranopia (green-blind)
#38445F
Tritanopia (blue-blind)
#005353
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #124d5f;
/* rgb */ color: rgb(18, 77, 95);
/* oklch */ color: oklch(39.2% 0.065 223.0);
Tailwind
colors: {
  custom: {
    50: '#5e7e8c',
    500: '#124d5f',
    950: '#000000',
  },
}
SCSS
$custom: #124d5f;
$custom-light: #5e7e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#124d5f",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 95
  },
  "hsl": {
    "h": 194.026,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39233,
    "c": 0.06508,
    "h": 223
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#124D5F
secondary
#974C36
accent
#663DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #124D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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