#124A6A#124A6A

#124A6A is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.0% C 0.078 H 239.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#124A6A
RGBrgb(18, 74, 106)
HSLhsl(202, 71%, 24%)
HSVhsv(202, 83%, 42%)
CMYKcmyk(83%, 30.2%, 0%, 58.4%)
CIE-LABlab(29.58, -5.45, -23.61)
CIE-LCHlch(29.58, 24.23, 256.99°)
OKLaboklab(39.02% -0.04 -0.0668)
OKLCHoklch(39.02% 0.078 239.1)
XYZxyz(5.2987, 6.0661, 14.5245)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A6A #6A3212
analogous
#126A5E #124A6A #121E6A
triadic
#124A6A #6A124A #4A6A12
tetradic
#124A6A #5E126A #6A3212 #1E6A12
square
#124A6A #5E126A #6A3212 #1E6A12
split-complementary
#124A6A #6A121E #6A5E12
monochromatic
#04121A #092536 #124A6A #1B6F9E #2493D3

Accessibility & contrast

On white

9.49
#124A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#124A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A6A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A6A#FFFFFF#000000##FFFFFF
##124A6A1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4A6B
Deuteranopia (green-blind)
#2F4269
Tritanopia (blue-blind)
#005255
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124a6a;
/* rgb */ color: rgb(18, 74, 106);
/* oklch */ color: oklch(39.0% 0.078 239.1);
Tailwind
colors: {
  custom: {
    50: '#607c94',
    500: '#124a6a',
    950: '#000000',
  },
}
SCSS
$custom: #124a6a;
$custom-light: #607c94;
$custom-dark: #000000;
JSON
{
  "hex": "#124a6a",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 106
  },
  "hsl": {
    "h": 201.818,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39021,
    "c": 0.07784,
    "h": 239.1
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#124A6A
secondary
#A25D36
accent
#7B3AEE
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#05090D
muted
#7A7B7E

Preview Lab

Preview with #124A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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