#183156#183156

#183156 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.4% C 0.074 H 258.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#183156
RGBrgb(24, 49, 86)
HSLhsl(216, 56%, 22%)
HSVhsv(216, 72%, 34%)
CMYKcmyk(72.1%, 43%, 0%, 66.3%)
CIE-LABlab(20.29, 4.24, -25.28)
CIE-LCHlch(20.29, 25.63, 279.53°)
OKLaboklab(31.4% -0.0151 -0.072)
OKLCHoklch(31.4% 0.074 258.1)
XYZxyz(3.1541, 3.0624, 9.2272)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183156 #563D18
analogous
#185056 #183156 #1E1856
triadic
#183156 #561831 #315618
tetradic
#183156 #561850 #563D18 #18561E
square
#183156 #561850 #563D18 #18561E
split-complementary
#183156 #561E18 #505618
monochromatic
#070E18 #0B1626 #183156 #254C86 #3368B6

Accessibility & contrast

On white

13.02
#183156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183156
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183156#FFFFFF#000000##FFFFFF
##1831561.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203457
Deuteranopia (green-blind)
#172E55
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #183156;
/* rgb */ color: rgb(24, 49, 86);
/* oklch */ color: oklch(31.4% 0.074 258.1);
Tailwind
colors: {
  custom: {
    50: '#5d6886',
    500: '#183156',
    950: '#000000',
  },
}
SCSS
$custom: #183156;
$custom-light: #5d6886;
$custom-dark: #000000;
JSON
{
  "hex": "#183156",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 215.806,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31403,
    "c": 0.07354,
    "h": 258.1
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#183156
secondary
#8D6D3D
accent
#A348E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #183156

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

Preview Lab → · Contrast checker → · Palette generator →

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