#183151#183151

#183151 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.066 H 255.5°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#183151
RGBrgb(24, 49, 81)
HSLhsl(214, 54%, 21%)
HSVhsv(214, 70%, 32%)
CMYKcmyk(70.4%, 39.5%, 0%, 68.2%)
CIE-LABlab(19.98, 2.21, -22.43)
CIE-LCHlch(19.98, 22.54, 275.62°)
OKLaboklab(31.06% -0.0165 -0.0636)
OKLCHoklch(31.06% 0.066 255.5)
XYZxyz(2.9597, 2.9846, 8.2031)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183151 #513818
analogous
#184D51 #183151 #1B1851
triadic
#183151 #511831 #315118
tetradic
#183151 #51184D #513818 #18511B
square
#183151 #51184D #513818 #18511B
split-complementary
#183151 #511B18 #4D5118
monochromatic
#070E18 #0A1422 #183151 #264E80 #346AAF

Accessibility & contrast

On white

13.15
#183151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#183151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183151
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183151#FFFFFF#000000##FFFFFF
##1831511.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233352
Deuteranopia (green-blind)
#1B2E50
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #183151;
/* rgb */ color: rgb(24, 49, 81);
/* oklch */ color: oklch(31.1% 0.066 255.5);
Tailwind
colors: {
  custom: {
    50: '#5c6882',
    500: '#183151',
    950: '#000000',
  },
}
SCSS
$custom: #183151;
$custom-light: #5c6882;
$custom-dark: #000000;
JSON
{
  "hex": "#183151",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 213.684,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31061,
    "c": 0.06576,
    "h": 255.5
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#183151
secondary
#88673D
accent
#9D4ADE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #183151

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

Preview Lab → · Contrast checker → · Palette generator →

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