#124F5D#124F5D

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

Color values

HEX#124F5D
RGBrgb(18, 79, 93)
HSLhsl(191, 68%, 22%)
HSVhsv(191, 81%, 36%)
CMYKcmyk(80.6%, 15.1%, 0%, 63.5%)
CIE-LABlab(30.66, -13.54, -13.66)
CIE-LCHlch(30.66, 19.23, 225.25°)
OKLaboklab(39.69% -0.0507 -0.0381)
OKLCHoklch(39.69% 0.063 217)
XYZxyz(5.0204, 6.5103, 11.3458)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F5D #5D2012
analogous
#125D46 #124F5D #122A5D
triadic
#124F5D #5D124F #4F5D12
tetradic
#124F5D #46125D #5D2012 #2A5D12
square
#124F5D #46125D #5D2012 #2A5D12
split-complementary
#124F5D #5D122A #5D4612
monochromatic
#05161A #08232A #124F5D #1C7B90 #26A6C4

Accessibility & contrast

On white

9.12
#124F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124F5D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F5D#FFFFFF#000000##FFFFFF
##124F5D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124f5d;
/* rgb */ color: rgb(18, 79, 93);
/* oklch */ color: oklch(39.7% 0.063 217.0);
Tailwind
colors: {
  custom: {
    50: '#5e808b',
    500: '#124f5d',
    950: '#000000',
  },
}
SCSS
$custom: #124f5d;
$custom-light: #5e808b;
$custom-dark: #000000;
JSON
{
  "hex": "#124f5d",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 93
  },
  "hsl": {
    "h": 191.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.06343,
    "h": 217
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#124F5D
secondary
#954735
accent
#5E3DEA
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #124F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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