#124A62#124A62

#124A62 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.6% C 0.069 H 231.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#124A62
RGBrgb(18, 74, 98)
HSLhsl(198, 69%, 23%)
HSVhsv(198, 82%, 38%)
CMYKcmyk(81.6%, 24.5%, 0%, 61.6%)
CIE-LABlab(29.18, -8.62, -19.14)
CIE-LCHlch(29.18, 20.99, 245.76°)
OKLaboklab(38.57% -0.043 -0.0539)
OKLCHoklch(38.57% 0.069 231.4)
XYZxyz(4.9019, 5.9074, 12.4348)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A62 #622A12
analogous
#126252 #124A62 #122262
triadic
#124A62 #62124A #4A6212
tetradic
#124A62 #521262 #622A12 #226212
square
#124A62 #521262 #622A12 #226212
split-complementary
#124A62 #621222 #625212
monochromatic
#05141A #09232E #124A62 #1B7196 #2598C9

Accessibility & contrast

On white

9.63
#124A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#124A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A62
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A62#FFFFFF#000000##FFFFFF
##124A621.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4963
Deuteranopia (green-blind)
#334162
Tritanopia (blue-blind)
#005152
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124a62;
/* rgb */ color: rgb(18, 74, 98);
/* oklch */ color: oklch(38.6% 0.069 231.4);
Tailwind
colors: {
  custom: {
    50: '#5e7c8e',
    500: '#124a62',
    950: '#000000',
  },
}
SCSS
$custom: #124a62;
$custom-light: #5e7c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#124a62",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 98
  },
  "hsl": {
    "h": 198,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38569,
    "c": 0.06894,
    "h": 231.4
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#124A62
secondary
#9A5436
accent
#713CEC
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124A62

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

Preview Lab → · Contrast checker → · Palette generator →

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