#124056#124056

#124056 is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.2% C 0.062 H 233.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#124056
RGBrgb(18, 64, 86)
HSLhsl(199, 65%, 20%)
HSVhsv(199, 79%, 34%)
CMYKcmyk(79.1%, 25.6%, 0%, 66.3%)
CIE-LABlab(25.16, -7.01, -17.64)
CIE-LCHlch(25.16, 18.98, 248.32°)
OKLaboklab(35.17% -0.0368 -0.0496)
OKLCHoklch(35.17% 0.062 233.4)
XYZxyz(3.7619, 4.4668, 9.4662)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124056 #562812
analogous
#12564A #124056 #121E56
triadic
#124056 #561240 #405612
tetradic
#124056 #4A1256 #562812 #1E5612
square
#124056 #4A1256 #562812 #1E5612
split-complementary
#124056 #56121E #564A12
monochromatic
#051319 #071A23 #124056 #1D6689 #278BBB

Accessibility & contrast

On white

11.09
#124056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#124056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124056
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124056#FFFFFF#000000##FFFFFF
##1240561.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353F57
Deuteranopia (green-blind)
#2C3956
Tritanopia (blue-blind)
#004647
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #124056;
/* rgb */ color: rgb(18, 64, 86);
/* oklch */ color: oklch(35.2% 0.062 233.4);
Tailwind
colors: {
  custom: {
    50: '#5b7485',
    500: '#124056',
    950: '#000000',
  },
}
SCSS
$custom: #124056;
$custom-light: #5b7485;
$custom-dark: #000000;
JSON
{
  "hex": "#124056",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 86
  },
  "hsl": {
    "h": 199.412,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.35171,
    "c": 0.06178,
    "h": 233.4
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#124056
secondary
#8F5235
accent
#763FE8
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124056

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

Preview Lab → · Contrast checker → · Palette generator →

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