#124F5C#124F5C

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

Color values

HEX#124F5C
RGBrgb(18, 79, 92)
HSLhsl(191, 67%, 22%)
HSVhsv(191, 80%, 36%)
CMYKcmyk(80.4%, 14.1%, 0%, 63.9%)
CIE-LABlab(30.62, -13.91, -13.08)
CIE-LCHlch(30.62, 19.10, 223.25°)
OKLaboklab(39.64% -0.0511 -0.0365)
OKLCHoklch(39.64% 0.063 215.5)
XYZxyz(4.9764, 6.4927, 11.1141)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F5C #5C1F12
analogous
#125C44 #124F5C #122A5C
triadic
#124F5C #5C124F #4F5C12
tetradic
#124F5C #44125C #5C1F12 #2A5C12
square
#124F5C #44125C #5C1F12 #2A5C12
split-complementary
#124F5C #5C122A #5C4412
monochromatic
#05161A #082329 #124F5C #1C7B8F #26A7C2

Accessibility & contrast

On white

9.14
#124F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#124F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F5C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F5C#FFFFFF#000000##FFFFFF
##124F5C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5D
Deuteranopia (green-blind)
#3C455C
Tritanopia (blue-blind)
#005453
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #124f5c;
/* rgb */ color: rgb(18, 79, 92);
/* oklch */ color: oklch(39.6% 0.063 215.5);
Tailwind
colors: {
  custom: {
    50: '#5d808a',
    500: '#124f5c',
    950: '#000000',
  },
}
SCSS
$custom: #124f5c;
$custom-light: #5d808a;
$custom-dark: #000000;
JSON
{
  "hex": "#124f5c",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 92
  },
  "hsl": {
    "h": 190.541,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39639,
    "c": 0.06284,
    "h": 215.5
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#124F5C
secondary
#944635
accent
#5C3EEA
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #124F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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