#124872#124872

#124872 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.0% C 0.090 H 246.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#124872
RGBrgb(18, 72, 114)
HSLhsl(206, 73%, 26%)
HSVhsv(206, 84%, 45%)
CMYKcmyk(84.2%, 36.8%, 0%, 55.3%)
CIE-LABlab(29.36, -0.91, -29.02)
CIE-LCHlch(29.36, 29.03, 268.21°)
OKLaboklab(38.99% -0.0353 -0.0826)
OKLCHoklch(38.99% 0.09 246.9)
XYZxyz(5.6029, 5.9775, 16.7748)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124872 #723C12
analogous
#12726C #124872 #121872
triadic
#124872 #721248 #487212
tetradic
#124872 #6C1272 #723C12 #187212
square
#124872 #6C1272 #723C12 #187212
split-complementary
#124872 #721218 #726C12
monochromatic
#04111A #0A273D #124872 #1A69A7 #238BDC

Accessibility & contrast

On white

9.56
#124872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#124872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124872
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124872#FFFFFF#000000##FFFFFF
##1248721.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#264171
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124872;
/* rgb */ color: rgb(18, 72, 114);
/* oklch */ color: oklch(39.0% 0.090 246.9);
Tailwind
colors: {
  custom: {
    50: '#617a9b',
    500: '#124872',
    950: '#000000',
  },
}
SCSS
$custom: #124872;
$custom-light: #617a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#124872",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 206.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.08984,
    "h": 246.9
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#124872
secondary
#A96937
accent
#8838EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #124872

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

Preview Lab → · Contrast checker → · Palette generator →

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