#124258#124258

#124258 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.8% C 0.063 H 232.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#124258
RGBrgb(18, 66, 88)
HSLhsl(199, 66%, 21%)
HSVhsv(199, 80%, 35%)
CMYKcmyk(79.5%, 25%, 0%, 65.5%)
CIE-LABlab(25.95, -7.50, -17.71)
CIE-LCHlch(25.95, 19.24, 247.05°)
OKLaboklab(35.83% -0.0382 -0.0498)
OKLCHoklch(35.83% 0.063 232.5)
XYZxyz(3.9584, 4.7291, 9.9348)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124258 #582812
analogous
#12584B #124258 #121F58
triadic
#124258 #581242 #425812
tetradic
#124258 #4B1258 #582812 #1F5812
square
#124258 #4B1258 #582812 #1F5812
split-complementary
#124258 #58121F #584B12
monochromatic
#051319 #081C25 #124258 #1C688B #278EBE

Accessibility & contrast

On white

10.79
#124258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#124258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124258
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124258#FFFFFF#000000##FFFFFF
##1242581.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374159
Deuteranopia (green-blind)
#2E3A58
Tritanopia (blue-blind)
#004849
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124258;
/* rgb */ color: rgb(18, 66, 88);
/* oklch */ color: oklch(35.8% 0.063 232.5);
Tailwind
colors: {
  custom: {
    50: '#5b7687',
    500: '#124258',
    950: '#000000',
  },
}
SCSS
$custom: #124258;
$custom-light: #5b7687;
$custom-dark: #000000;
JSON
{
  "hex": "#124258",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 88
  },
  "hsl": {
    "h": 198.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35833,
    "c": 0.06281,
    "h": 232.5
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#124258
secondary
#915235
accent
#743FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124258

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

Preview Lab → · Contrast checker → · Palette generator →

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