#124858#124858

#124858 is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 37.5% C 0.061 H 222.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#124858
RGBrgb(18, 72, 88)
HSLhsl(194, 66%, 21%)
HSVhsv(194, 80%, 35%)
CMYKcmyk(79.5%, 18.2%, 0%, 65.5%)
CIE-LABlab(28.03, -11.23, -14.50)
CIE-LCHlch(28.03, 18.34, 232.24°)
OKLaboklab(37.49% -0.045 -0.0406)
OKLCHoklch(37.49% 0.061 222)
XYZxyz(4.3275, 5.4674, 10.0579)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124858 #582212
analogous
#125845 #124858 #122558
triadic
#124858 #581248 #485812
tetradic
#124858 #451258 #582212 #255812
square
#124858 #451258 #582212 #255812
split-complementary
#124858 #581225 #584512
monochromatic
#051519 #081E25 #124858 #1C728B #279BBE

Accessibility & contrast

On white

10.03
#124858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#124858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124858
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124858#FFFFFF#000000##FFFFFF
##1248581.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4659
Deuteranopia (green-blind)
#353F58
Tritanopia (blue-blind)
#004D4D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124858;
/* rgb */ color: rgb(18, 72, 88);
/* oklch */ color: oklch(37.5% 0.061 222.0);
Tailwind
colors: {
  custom: {
    50: '#5c7b87',
    500: '#124858',
    950: '#000000',
  },
}
SCSS
$custom: #124858;
$custom-light: #5c7b87;
$custom-dark: #000000;
JSON
{
  "hex": "#124858",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 88
  },
  "hsl": {
    "h": 193.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.37495,
    "c": 0.06062,
    "h": 222
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#124858
secondary
#914A35
accent
#663FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#05090B
muted
#797B7C

Preview Lab

Preview with #124858

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

Preview Lab → · Contrast checker → · Palette generator →

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