#183159#183159

#183159 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.078 H 259.4°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#183159
RGBrgb(24, 49, 89)
HSLhsl(217, 58%, 22%)
HSVhsv(217, 73%, 35%)
CMYKcmyk(73%, 44.9%, 0%, 65.1%)
CIE-LABlab(20.49, 5.48, -26.96)
CIE-LCHlch(20.49, 27.51, 281.48°)
OKLaboklab(31.62% -0.0144 -0.0769)
OKLCHoklch(31.62% 0.078 259.4)
XYZxyz(3.2775, 3.1118, 9.8772)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183159 #594018
analogous
#185259 #183159 #201859
triadic
#183159 #591831 #315918
tetradic
#183159 #591852 #594018 #185920
square
#183159 #591852 #594018 #185920
split-complementary
#183159 #592018 #525918
monochromatic
#060D18 #0B1629 #183159 #254C89 #3266B9

Accessibility & contrast

On white

12.94
#183159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#183159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183159
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183159#FFFFFF#000000##FFFFFF
##1831591.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E355B
Deuteranopia (green-blind)
#142F58
Tritanopia (blue-blind)
#003A40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #183159;
/* rgb */ color: rgb(24, 49, 89);
/* oklch */ color: oklch(31.6% 0.078 259.4);
Tailwind
colors: {
  custom: {
    50: '#5d6888',
    500: '#183159',
    950: '#000000',
  },
}
SCSS
$custom: #183159;
$custom-light: #5d6888;
$custom-dark: #000000;
JSON
{
  "hex": "#183159",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 216.923,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31616,
    "c": 0.07824,
    "h": 259.4
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#183159
secondary
#90703D
accent
#A647E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #183159

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

Preview Lab → · Contrast checker → · Palette generator →

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