#124876#124876

#124876 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.2% C 0.095 H 249.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#124876
RGBrgb(18, 72, 118)
HSLhsl(208, 74%, 27%)
HSVhsv(208, 85%, 46%)
CMYKcmyk(84.7%, 39%, 0%, 53.7%)
CIE-LABlab(29.59, 0.74, -31.16)
CIE-LCHlch(29.59, 31.17, 271.37°)
OKLaboklab(39.25% -0.0341 -0.0889)
OKLCHoklch(39.25% 0.095 249)
XYZxyz(5.8356, 6.0706, 18.0002)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124876 #764012
analogous
#127672 #124876 #121676
triadic
#124876 #761248 #487612
tetradic
#124876 #721276 #764012 #167612
square
#124876 #721276 #764012 #167612
split-complementary
#124876 #761216 #767212
monochromatic
#04101B #0A2841 #124876 #1A68AB #2589DE

Accessibility & contrast

On white

9.48
#124876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#124876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124876
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124876#FFFFFF#000000##FFFFFF
##1248761.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#234275
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124876;
/* rgb */ color: rgb(18, 72, 118);
/* oklch */ color: oklch(39.2% 0.095 249.0);
Tailwind
colors: {
  custom: {
    50: '#627a9e',
    500: '#124876',
    950: '#000000',
  },
}
SCSS
$custom: #124876;
$custom-light: #627a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#124876",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 207.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39248,
    "c": 0.09522,
    "h": 249
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#124876
secondary
#AD6D37
accent
#8D38F0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #124876

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

Preview Lab → · Contrast checker → · Palette generator →

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