#124058#124058

#124058 is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.3% C 0.064 H 235.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#124058
RGBrgb(18, 64, 88)
HSLhsl(201, 66%, 21%)
HSVhsv(201, 80%, 35%)
CMYKcmyk(79.5%, 27.3%, 0%, 65.5%)
CIE-LABlab(25.26, -6.22, -18.79)
CIE-LCHlch(25.26, 19.79, 251.69°)
OKLaboklab(35.28% -0.036 -0.0529)
OKLCHoklch(35.28% 0.064 235.8)
XYZxyz(3.8436, 4.4995, 9.8966)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124058 #582A12
analogous
#12584D #124058 #121D58
triadic
#124058 #581240 #405812
tetradic
#124058 #4D1258 #582A12 #1D5812
square
#124058 #4D1258 #582A12 #1D5812
split-complementary
#124058 #58121D #584D12
monochromatic
#051219 #081B25 #124058 #1C658B #278ABE

Accessibility & contrast

On white

11.05
#124058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#124058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124058
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124058#FFFFFF#000000##FFFFFF
##1240581.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344059
Deuteranopia (green-blind)
#2B3958
Tritanopia (blue-blind)
#004648
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #124058;
/* rgb */ color: rgb(18, 64, 88);
/* oklch */ color: oklch(35.3% 0.064 235.8);
Tailwind
colors: {
  custom: {
    50: '#5b7487',
    500: '#124058',
    950: '#000000',
  },
}
SCSS
$custom: #124058;
$custom-light: #5b7487;
$custom-dark: #000000;
JSON
{
  "hex": "#124058",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 88
  },
  "hsl": {
    "h": 200.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35283,
    "c": 0.06402,
    "h": 235.8
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#124058
secondary
#915535
accent
#793FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124058

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

Preview Lab → · Contrast checker → · Palette generator →

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