#124566#124566

#124566 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.5% C 0.077 H 242.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#124566
RGBrgb(18, 69, 102)
HSLhsl(204, 70%, 24%)
HSVhsv(204, 82%, 40%)
CMYKcmyk(82.4%, 32.4%, 0%, 60%)
CIE-LABlab(27.69, -3.84, -24.02)
CIE-LCHlch(27.69, 24.33, 260.93°)
OKLaboklab(37.46% -0.0362 -0.0681)
OKLCHoklch(37.46% 0.077 242)
XYZxyz(4.7749, 5.3436, 13.3476)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124566 #663312
analogous
#12665D #124566 #121B66
triadic
#124566 #661245 #456612
tetradic
#124566 #5D1266 #663312 #1B6612
square
#124566 #5D1266 #663312 #1B6612
split-complementary
#124566 #66121B #665D12
monochromatic
#05121A #092232 #124566 #1B689A #248BCE

Accessibility & contrast

On white

10.15
#124566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#124566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124566
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124566#FFFFFF#000000##FFFFFF
##1245661.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364667
Deuteranopia (green-blind)
#2A3E65
Tritanopia (blue-blind)
#004D51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124566;
/* rgb */ color: rgb(18, 69, 102);
/* oklch */ color: oklch(37.5% 0.077 242.0);
Tailwind
colors: {
  custom: {
    50: '#5e7892',
    500: '#124566',
    950: '#000000',
  },
}
SCSS
$custom: #124566;
$custom-light: #5e7892;
$custom-dark: #000000;
JSON
{
  "hex": "#124566",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 102
  },
  "hsl": {
    "h": 203.571,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.37456,
    "c": 0.0771,
    "h": 242
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#124566
secondary
#9E5F36
accent
#813BED
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05090D
muted
#797B7D

Preview Lab

Preview with #124566

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

Preview Lab → · Contrast checker → · Palette generator →

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