#124862#124862

#124862 is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.0% C 0.070 H 234.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#124862
RGBrgb(18, 72, 98)
HSLhsl(200, 69%, 23%)
HSVhsv(200, 82%, 38%)
CMYKcmyk(81.6%, 26.5%, 0%, 61.6%)
CIE-LABlab(28.50, -7.36, -20.20)
CIE-LCHlch(28.50, 21.50, 249.97°)
OKLaboklab(38.03% -0.0409 -0.0569)
OKLCHoklch(38.03% 0.07 234.3)
XYZxyz(4.7705, 5.6446, 12.3910)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124862 #622C12
analogous
#126254 #124862 #122062
triadic
#124862 #621248 #486212
tetradic
#124862 #541262 #622C12 #206212
square
#124862 #541262 #622C12 #206212
split-complementary
#124862 #621220 #625412
monochromatic
#05131A #09222E #124862 #1B6E96 #2594C9

Accessibility & contrast

On white

9.86
#124862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#124862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124862
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124862#FFFFFF#000000##FFFFFF
##1248621.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4763
Deuteranopia (green-blind)
#314062
Tritanopia (blue-blind)
#004F51
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124862;
/* rgb */ color: rgb(18, 72, 98);
/* oklch */ color: oklch(38.0% 0.070 234.3);
Tailwind
colors: {
  custom: {
    50: '#5e7a8e',
    500: '#124862',
    950: '#000000',
  },
}
SCSS
$custom: #124862;
$custom-light: #5e7a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#124862",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 98
  },
  "hsl": {
    "h": 199.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38027,
    "c": 0.07009,
    "h": 234.3
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#124862
secondary
#9A5636
accent
#753CEC
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124862

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

Preview Lab → · Contrast checker → · Palette generator →

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