#182153#182153

#182153 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.091 H 271.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#182153
RGBrgb(24, 33, 83)
HSLhsl(231, 55%, 21%)
HSVhsv(231, 71%, 33%)
CMYKcmyk(71.1%, 60.2%, 0%, 67.5%)
CIE-LABlab(14.99, 14.76, -31.78)
CIE-LCHlch(14.99, 35.04, 294.92°)
OKLaboklab(27.28% 0.0021 -0.0913)
OKLCHoklch(27.28% 0.091 271.3)
XYZxyz(2.4814, 1.9062, 8.4191)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182153 #534A18
analogous
#183E53 #182153 #2C1853
triadic
#182153 #531821 #215318
tetradic
#182153 #53183E #534A18 #18532C
square
#182153 #53183E #534A18 #18532C
split-complementary
#182153 #532C18 #3E5318
monochromatic
#070918 #0A0E24 #182153 #263482 #3347B2

Accessibility & contrast

On white

15.20
#182153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#182153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182153
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182153#FFFFFF#000000##FFFFFF
##1821531.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #182153;
/* rgb */ color: rgb(24, 33, 83);
/* oklch */ color: oklch(27.3% 0.091 271.3);
Tailwind
colors: {
  custom: {
    50: '#5d5c84',
    500: '#182153',
    950: '#000000',
  },
}
SCSS
$custom: #182153;
$custom-light: #5d5c84;
$custom-dark: #000000;
JSON
{
  "hex": "#182153",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 230.847,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27279,
    "c": 0.09137,
    "h": 271.3
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#182153
secondary
#8A7E3D
accent
#C849DE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #182153

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

Preview Lab → · Contrast checker → · Palette generator →

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