#183858#183858

#183858 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.4% C 0.068 H 250.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#183858
RGBrgb(24, 56, 88)
HSLhsl(210, 57%, 22%)
HSVhsv(210, 73%, 35%)
CMYKcmyk(72.7%, 36.4%, 0%, 65.5%)
CIE-LABlab(22.75, 0.15, -22.71)
CIE-LCHlch(22.75, 22.71, 270.38°)
OKLaboklab(33.36% -0.0227 -0.0644)
OKLCHoklch(33.36% 0.068 250.6)
XYZxyz(3.5517, 3.7268, 9.7628)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183858 #583818
analogous
#185858 #183858 #181858
triadic
#183858 #581838 #385818
tetradic
#183858 #581858 #583818 #185818
square
#183858 #581858 #583818 #185818
split-complementary
#183858 #581818 #585818
monochromatic
#070F18 #0B1928 #183858 #255788 #3275B8

Accessibility & contrast

On white

12.03
#183858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#183858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183858
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183858#FFFFFF#000000##FFFFFF
##1838581.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A59
Deuteranopia (green-blind)
#213457
Tritanopia (blue-blind)
#004044
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183858;
/* rgb */ color: rgb(24, 56, 88);
/* oklch */ color: oklch(33.4% 0.068 250.6);
Tailwind
colors: {
  custom: {
    50: '#5d6e87',
    500: '#183858',
    950: '#000000',
  },
}
SCSS
$custom: #183858;
$custom-light: #5d6e87;
$custom-dark: #000000;
JSON
{
  "hex": "#183858",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 88
  },
  "hsl": {
    "h": 210,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33359,
    "c": 0.06825,
    "h": 250.6
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#183858
secondary
#8F663D
accent
#9447E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05070B
muted
#797A7C

Preview Lab

Preview with #183858

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

Preview Lab → · Contrast checker → · Palette generator →

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