#124C62#124C62

#124C62 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.1% C 0.068 H 228.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#124C62
RGBrgb(18, 76, 98)
HSLhsl(197, 69%, 23%)
HSVhsv(197, 82%, 38%)
CMYKcmyk(81.6%, 22.4%, 0%, 61.6%)
CIE-LABlab(29.86, -9.85, -18.08)
CIE-LCHlch(29.86, 20.59, 241.42°)
OKLaboklab(39.11% -0.0452 -0.0508)
OKLCHoklch(39.11% 0.068 228.3)
XYZxyz(5.0376, 6.1787, 12.4800)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C62 #622812
analogous
#126250 #124C62 #122462
triadic
#124C62 #62124C #4C6212
tetradic
#124C62 #501262 #622812 #246212
square
#124C62 #501262 #622812 #246212
split-complementary
#124C62 #621224 #625012
monochromatic
#05141A #09242E #124C62 #1B7496 #259CC9

Accessibility & contrast

On white

9.39
#124C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#124C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C62
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C62#FFFFFF#000000##FFFFFF
##124C621.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404B63
Deuteranopia (green-blind)
#364362
Tritanopia (blue-blind)
#005253
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124c62;
/* rgb */ color: rgb(18, 76, 98);
/* oklch */ color: oklch(39.1% 0.068 228.3);
Tailwind
colors: {
  custom: {
    50: '#5e7e8e',
    500: '#124c62',
    950: '#000000',
  },
}
SCSS
$custom: #124c62;
$custom-light: #5e7e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#124c62",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 98
  },
  "hsl": {
    "h": 196.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.39114,
    "c": 0.068,
    "h": 228.3
  },
  "luminance": 0.06179
}

Semantic roles & 50–950 ramp

primary
#124C62
secondary
#9A5136
accent
#6C3CEC
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124C62

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

Preview Lab → · Contrast checker → · Palette generator →

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