#182852#182852

#182852 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.079 H 265.9°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#182852
RGBrgb(24, 40, 82)
HSLhsl(223, 55%, 21%)
HSVhsv(223, 71%, 32%)
CMYKcmyk(70.7%, 51.2%, 0%, 67.8%)
CIE-LABlab(17.09, 9.15, -27.72)
CIE-LCHlch(17.09, 29.19, 288.26°)
OKLaboklab(28.85% -0.0057 -0.0793)
OKLCHoklch(28.85% 0.079 265.9)
XYZxyz(2.6579, 2.3207, 8.2889)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182852 #524218
analogous
#184552 #182852 #251852
triadic
#182852 #521828 #285218
tetradic
#182852 #521845 #524218 #185225
square
#182852 #521845 #524218 #185225
split-complementary
#182852 #522518 #455218
monochromatic
#070C18 #0A1123 #182852 #263F81 #3456B1

Accessibility & contrast

On white

14.34
#182852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#182852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182852
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182852#FFFFFF#000000##FFFFFF
##1828521.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132D54
Deuteranopia (green-blind)
#082851
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182852;
/* rgb */ color: rgb(24, 40, 82);
/* oklch */ color: oklch(28.8% 0.079 265.9);
Tailwind
colors: {
  custom: {
    50: '#5c6183',
    500: '#182852',
    950: '#000000',
  },
}
SCSS
$custom: #182852;
$custom-light: #5c6183;
$custom-dark: #000000;
JSON
{
  "hex": "#182852",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 223.448,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28845,
    "c": 0.07949,
    "h": 265.9
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#182852
secondary
#89743D
accent
#B54ADE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #182852

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

Preview Lab → · Contrast checker → · Palette generator →

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