#124F5F#124F5F

#124F5F is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 39.8% C 0.065 H 219.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#124F5F
RGBrgb(18, 79, 95)
HSLhsl(192, 68%, 22%)
HSVhsv(192, 81%, 37%)
CMYKcmyk(81.1%, 16.8%, 0%, 62.7%)
CIE-LABlab(30.75, -12.80, -14.80)
CIE-LCHlch(30.75, 19.57, 229.14°)
OKLaboklab(39.78% -0.0498 -0.0414)
OKLCHoklch(39.78% 0.065 219.7)
XYZxyz(5.1101, 6.5462, 11.8185)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F5F #5F2212
analogous
#125F49 #124F5F #12285F
triadic
#124F5F #5F124F #4F5F12
tetradic
#124F5F #49125F #5F2212 #285F12
square
#124F5F #49125F #5F2212 #285F12
split-complementary
#124F5F #5F1228 #5F4912
monochromatic
#05151A #08242C #124F5F #1C7A92 #25A5C6

Accessibility & contrast

On white

9.09
#124F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#124F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F5F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F5F#FFFFFF#000000##FFFFFF
##124F5F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#3B455F
Tritanopia (blue-blind)
#005454
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #124f5f;
/* rgb */ color: rgb(18, 79, 95);
/* oklch */ color: oklch(39.8% 0.065 219.7);
Tailwind
colors: {
  custom: {
    50: '#5e808c',
    500: '#124f5f',
    950: '#000000',
  },
}
SCSS
$custom: #124f5f;
$custom-light: #5e808c;
$custom-dark: #000000;
JSON
{
  "hex": "#124f5f",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 95
  },
  "hsl": {
    "h": 192.468,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39784,
    "c": 0.06474,
    "h": 219.7
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#124F5F
secondary
#974A36
accent
#613DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #124F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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