#124966#124966

#124966 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.5% C 0.074 H 236.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#124966
RGBrgb(18, 73, 102)
HSLhsl(201, 70%, 24%)
HSVhsv(201, 82%, 40%)
CMYKcmyk(82.4%, 28.4%, 0%, 60%)
CIE-LABlab(29.04, -6.41, -21.91)
CIE-LCHlch(29.04, 22.83, 253.69°)
OKLaboklab(38.52% -0.0404 -0.0619)
OKLCHoklch(38.52% 0.074 236.9)
XYZxyz(5.0293, 5.8524, 13.4324)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124966 #662F12
analogous
#126659 #124966 #121F66
triadic
#124966 #661249 #496612
tetradic
#124966 #591266 #662F12 #1F6612
square
#124966 #591266 #662F12 #1F6612
split-complementary
#124966 #66121F #665912
monochromatic
#05131A #092432 #124966 #1B6E9A #2493CE

Accessibility & contrast

On white

9.67
#124966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#124966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124966
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124966#FFFFFF#000000##FFFFFF
##1249661.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4967
Deuteranopia (green-blind)
#304166
Tritanopia (blue-blind)
#005053
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124966;
/* rgb */ color: rgb(18, 73, 102);
/* oklch */ color: oklch(38.5% 0.074 236.9);
Tailwind
colors: {
  custom: {
    50: '#5f7b91',
    500: '#124966',
    950: '#000000',
  },
}
SCSS
$custom: #124966;
$custom-light: #5f7b91;
$custom-dark: #000000;
JSON
{
  "hex": "#124966",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 102
  },
  "hsl": {
    "h": 200.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38523,
    "c": 0.07391,
    "h": 236.9
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#124966
secondary
#9E5A36
accent
#783BED
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05090D
muted
#797B7D

Preview Lab

Preview with #124966

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

Preview Lab → · Contrast checker → · Palette generator →

#124966 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva