#124D62#124D62

#124D62 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.4% C 0.068 H 226.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#124D62
RGBrgb(18, 77, 98)
HSLhsl(196, 69%, 23%)
HSVhsv(196, 82%, 38%)
CMYKcmyk(81.6%, 21.4%, 0%, 61.6%)
CIE-LABlab(30.20, -10.46, -17.56)
CIE-LCHlch(30.20, 20.44, 239.20°)
OKLaboklab(39.39% -0.0463 -0.0493)
OKLCHoklch(39.39% 0.068 226.8)
XYZxyz(5.1070, 6.3176, 12.5032)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D62 #622712
analogous
#12624F #124D62 #122562
triadic
#124D62 #62124D #4D6212
tetradic
#124D62 #4F1262 #622712 #256212
square
#124D62 #4F1262 #622712 #256212
split-complementary
#124D62 #621225 #624F12
monochromatic
#05141A #09242E #124D62 #1B7696 #259EC9

Accessibility & contrast

On white

9.28
#124D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#124D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D62
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D62#FFFFFF#000000##FFFFFF
##124D621.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B63
Deuteranopia (green-blind)
#374462
Tritanopia (blue-blind)
#005354
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #124d62;
/* rgb */ color: rgb(18, 77, 98);
/* oklch */ color: oklch(39.4% 0.068 226.8);
Tailwind
colors: {
  custom: {
    50: '#5e7e8e',
    500: '#124d62',
    950: '#000000',
  },
}
SCSS
$custom: #124d62;
$custom-light: #5e7e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#124d62",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 98
  },
  "hsl": {
    "h": 195.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.39387,
    "c": 0.06762,
    "h": 226.8
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#124D62
secondary
#9A5036
accent
#6A3CEC
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #124D62

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

Preview Lab → · Contrast checker → · Palette generator →

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