#124158#124158

#124158 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.6% C 0.063 H 234.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#124158
RGBrgb(18, 65, 88)
HSLhsl(200, 66%, 21%)
HSVhsv(200, 80%, 35%)
CMYKcmyk(79.5%, 26.1%, 0%, 65.5%)
CIE-LABlab(25.60, -6.86, -18.25)
CIE-LCHlch(25.60, 19.50, 249.40°)
OKLaboklab(35.56% -0.0371 -0.0514)
OKLCHoklch(35.56% 0.063 234.2)
XYZxyz(3.9005, 4.6133, 9.9155)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124158 #582912
analogous
#12584C #124158 #121E58
triadic
#124158 #581241 #415812
tetradic
#124158 #4C1258 #582912 #1E5812
square
#124158 #4C1258 #582912 #1E5812
split-complementary
#124158 #58121E #584C12
monochromatic
#051319 #081B25 #124158 #1C678B #278CBE

Accessibility & contrast

On white

10.92
#124158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#124158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124158
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124158#FFFFFF#000000##FFFFFF
##1241581.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364059
Deuteranopia (green-blind)
#2C3A58
Tritanopia (blue-blind)
#004749
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124158;
/* rgb */ color: rgb(18, 65, 88);
/* oklch */ color: oklch(35.6% 0.063 234.2);
Tailwind
colors: {
  custom: {
    50: '#5b7587',
    500: '#124158',
    950: '#000000',
  },
}
SCSS
$custom: #124158;
$custom-light: #5b7587;
$custom-dark: #000000;
JSON
{
  "hex": "#124158",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 88
  },
  "hsl": {
    "h": 199.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35558,
    "c": 0.06339,
    "h": 234.2
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#124158
secondary
#915335
accent
#773FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124158

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

Preview Lab → · Contrast checker → · Palette generator →

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