#183958#183958

#183958 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.6% C 0.067 H 249.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#183958
RGBrgb(24, 57, 88)
HSLhsl(209, 57%, 22%)
HSVhsv(209, 73%, 35%)
CMYKcmyk(72.7%, 35.2%, 0%, 65.5%)
CIE-LABlab(23.08, -0.54, -22.18)
CIE-LCHlch(23.08, 22.19, 268.61°)
OKLaboklab(33.62% -0.0238 -0.0628)
OKLCHoklch(33.62% 0.067 249.2)
XYZxyz(3.6006, 3.8247, 9.7791)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183958 #583718
analogous
#185857 #183958 #181958
triadic
#183958 #581839 #395818
tetradic
#183958 #571858 #583718 #195818
square
#183958 #571858 #583718 #195818
split-complementary
#183958 #581819 #585718
monochromatic
#071018 #0B1A28 #183958 #255888 #3277B8

Accessibility & contrast

On white

11.90
#183958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#183958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183958
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183958#FFFFFF#000000##FFFFFF
##1839581.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#223457
Tritanopia (blue-blind)
#004044
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #183958;
/* rgb */ color: rgb(24, 57, 88);
/* oklch */ color: oklch(33.6% 0.067 249.2);
Tailwind
colors: {
  custom: {
    50: '#5d6f87',
    500: '#183958',
    950: '#000000',
  },
}
SCSS
$custom: #183958;
$custom-light: #5d6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#183958",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 88
  },
  "hsl": {
    "h": 209.063,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33623,
    "c": 0.06718,
    "h": 249.2
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#183958
secondary
#8F653D
accent
#9247E0
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#05070B
muted
#797A7C

Preview Lab

Preview with #183958

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

Preview Lab → · Contrast checker → · Palette generator →

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