#124358#124358

#124358 is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.1% C 0.062 H 230.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#124358
RGBrgb(18, 67, 88)
HSLhsl(198, 66%, 21%)
HSVhsv(198, 80%, 35%)
CMYKcmyk(79.5%, 23.9%, 0%, 65.5%)
CIE-LABlab(26.29, -8.13, -17.18)
CIE-LCHlch(26.29, 19.01, 244.66°)
OKLaboklab(36.11% -0.0394 -0.0483)
OKLCHoklch(36.11% 0.062 230.8)
XYZxyz(4.0174, 4.8470, 9.9545)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124358 #582712
analogous
#12584A #124358 #122058
triadic
#124358 #581243 #435812
tetradic
#124358 #4A1258 #582712 #205812
square
#124358 #4A1258 #582712 #205812
split-complementary
#124358 #581220 #584A12
monochromatic
#051319 #081C25 #124358 #1C6A8B #2790BE

Accessibility & contrast

On white

10.66
#124358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#124358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124358
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124358#FFFFFF#000000##FFFFFF
##1243581.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384259
Deuteranopia (green-blind)
#2F3B58
Tritanopia (blue-blind)
#00494A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124358;
/* rgb */ color: rgb(18, 67, 88);
/* oklch */ color: oklch(36.1% 0.062 230.8);
Tailwind
colors: {
  custom: {
    50: '#5c7787',
    500: '#124358',
    950: '#000000',
  },
}
SCSS
$custom: #124358;
$custom-light: #5c7787;
$custom-dark: #000000;
JSON
{
  "hex": "#124358",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 88
  },
  "hsl": {
    "h": 198,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.36109,
    "c": 0.06229,
    "h": 230.8
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#124358
secondary
#915135
accent
#723FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124358

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

Preview Lab → · Contrast checker → · Palette generator →

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