#183251#183251

#183251 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.3% C 0.065 H 254.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#183251
RGBrgb(24, 50, 81)
HSLhsl(213, 54%, 21%)
HSVhsv(213, 70%, 32%)
CMYKcmyk(70.4%, 38.3%, 0%, 68.2%)
CIE-LABlab(20.32, 1.50, -21.90)
CIE-LCHlch(20.32, 21.95, 273.93°)
OKLaboklab(31.32% -0.0177 -0.0621)
OKLCHoklch(31.32% 0.065 254.1)
XYZxyz(3.0020, 3.0692, 8.2172)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183251 #513718
analogous
#184E51 #183251 #1A1851
triadic
#183251 #511832 #325118
tetradic
#183251 #51184E #513718 #18511A
square
#183251 #51184E #513718 #18511A
split-complementary
#183251 #511A18 #4E5118
monochromatic
#070F18 #0A1522 #183251 #264F80 #346CAF

Accessibility & contrast

On white

13.01
#183251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#183251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183251
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183251#FFFFFF#000000##FFFFFF
##1832511.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253452
Deuteranopia (green-blind)
#1D2F50
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #183251;
/* rgb */ color: rgb(24, 50, 81);
/* oklch */ color: oklch(31.3% 0.065 254.1);
Tailwind
colors: {
  custom: {
    50: '#5c6982',
    500: '#183251',
    950: '#000000',
  },
}
SCSS
$custom: #183251;
$custom-light: #5c6982;
$custom-dark: #000000;
JSON
{
  "hex": "#183251",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 81
  },
  "hsl": {
    "h": 212.632,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31324,
    "c": 0.06456,
    "h": 254.1
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#183251
secondary
#88663D
accent
#9A4ADE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #183251

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

Preview Lab → · Contrast checker → · Palette generator →

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