#182B57#182B57

#182B57 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.083 H 264.4°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#182B57
RGBrgb(24, 43, 87)
HSLhsl(222, 57%, 22%)
HSVhsv(222, 72%, 34%)
CMYKcmyk(72.4%, 50.6%, 0%, 65.9%)
CIE-LABlab(18.41, 9.00, -28.95)
CIE-LCHlch(18.41, 30.32, 287.28°)
OKLaboklab(29.97% -0.0081 -0.0829)
OKLCHoklch(29.97% 0.083 264.4)
XYZxyz(2.9603, 2.6098, 9.3627)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B57 #574418
analogous
#184B57 #182B57 #251857
triadic
#182B57 #57182B #2B5718
tetradic
#182B57 #57184B #574418 #185725
square
#182B57 #57184B #574418 #185725
split-complementary
#182B57 #572518 #4B5718
monochromatic
#070C18 #0B1327 #182B57 #254387 #325AB7

Accessibility & contrast

On white

13.80
#182B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B57
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B57#FFFFFF#000000##FFFFFF
##182B571.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153059
Deuteranopia (green-blind)
#082A56
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182b57;
/* rgb */ color: rgb(24, 43, 87);
/* oklch */ color: oklch(30.0% 0.083 264.4);
Tailwind
colors: {
  custom: {
    50: '#5d6387',
    500: '#182b57',
    950: '#000000',
  },
}
SCSS
$custom: #182b57;
$custom-light: #5d6387;
$custom-dark: #000000;
JSON
{
  "hex": "#182b57",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 87
  },
  "hsl": {
    "h": 221.905,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29972,
    "c": 0.08327,
    "h": 264.4
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#182B57
secondary
#8E753D
accent
#B248E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #182B57

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

Preview Lab → · Contrast checker → · Palette generator →

#182B57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva