#182952#182952

#182952 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.078 H 265.0°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#182952
RGBrgb(24, 41, 82)
HSLhsl(222, 55%, 21%)
HSVhsv(222, 71%, 32%)
CMYKcmyk(70.7%, 50%, 0%, 67.8%)
CIE-LABlab(17.41, 8.41, -27.20)
CIE-LCHlch(17.41, 28.47, 287.18°)
OKLaboklab(29.09% -0.0068 -0.0777)
OKLCHoklch(29.09% 0.078 265)
XYZxyz(2.6921, 2.3890, 8.3003)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182952 #524118
analogous
#184652 #182952 #241852
triadic
#182952 #521829 #295218
tetradic
#182952 #521846 #524118 #185224
square
#182952 #521846 #524118 #185224
split-complementary
#182952 #522418 #465218
monochromatic
#070C18 #0A1123 #182952 #264181 #3458B1

Accessibility & contrast

On white

14.21
#182952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#182952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182952
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182952#FFFFFF#000000##FFFFFF
##1829521.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E54
Deuteranopia (green-blind)
#0B2851
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182952;
/* rgb */ color: rgb(24, 41, 82);
/* oklch */ color: oklch(29.1% 0.078 265.0);
Tailwind
colors: {
  custom: {
    50: '#5c6283',
    500: '#182952',
    950: '#000000',
  },
}
SCSS
$custom: #182952;
$custom-light: #5c6283;
$custom-dark: #000000;
JSON
{
  "hex": "#182952",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 222.414,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29091,
    "c": 0.07805,
    "h": 265
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#182952
secondary
#89733D
accent
#B34ADE
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #182952

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

Preview Lab → · Contrast checker → · Palette generator →

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