#124866#124866

#124866 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.3% C 0.075 H 238.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#124866
RGBrgb(18, 72, 102)
HSLhsl(201, 70%, 24%)
HSVhsv(201, 82%, 40%)
CMYKcmyk(82.4%, 29.4%, 0%, 60%)
CIE-LABlab(28.70, -5.77, -22.44)
CIE-LCHlch(28.70, 23.17, 255.57°)
OKLaboklab(38.26% -0.0394 -0.0634)
OKLCHoklch(38.26% 0.075 238.2)
XYZxyz(4.9641, 5.7220, 13.4106)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124866 #663012
analogous
#12665A #124866 #121E66
triadic
#124866 #661248 #486612
tetradic
#124866 #5A1266 #663012 #1E6612
square
#124866 #5A1266 #663012 #1E6612
split-complementary
#124866 #66121E #665A12
monochromatic
#05121A #092332 #124866 #1B6D9A #2491CE

Accessibility & contrast

On white

9.79
#124866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#124866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124866
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124866#FFFFFF#000000##FFFFFF
##1248661.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4867
Deuteranopia (green-blind)
#2E4065
Tritanopia (blue-blind)
#005052
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124866;
/* rgb */ color: rgb(18, 72, 102);
/* oklch */ color: oklch(38.3% 0.075 238.2);
Tailwind
colors: {
  custom: {
    50: '#5f7a91',
    500: '#124866',
    950: '#000000',
  },
}
SCSS
$custom: #124866;
$custom-light: #5f7a91;
$custom-dark: #000000;
JSON
{
  "hex": "#124866",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 102
  },
  "hsl": {
    "h": 201.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38255,
    "c": 0.07464,
    "h": 238.2
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#124866
secondary
#9E5B36
accent
#7B3BED
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05090D
muted
#797B7D

Preview Lab

Preview with #124866

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

Preview Lab → · Contrast checker → · Palette generator →

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