#182A57#182A57

#182A57 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.085 H 265.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#182A57
RGBrgb(24, 42, 87)
HSLhsl(223, 57%, 22%)
HSVhsv(223, 72%, 34%)
CMYKcmyk(72.4%, 51.7%, 0%, 65.9%)
CIE-LABlab(18.09, 9.74, -29.46)
CIE-LCHlch(18.09, 31.03, 288.29°)
OKLaboklab(29.73% -0.007 -0.0844)
OKLCHoklch(29.73% 0.085 265.2)
XYZxyz(2.9244, 2.5380, 9.3507)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A57 #574518
analogous
#184A57 #182A57 #261857
triadic
#182A57 #57182A #2A5718
tetradic
#182A57 #57184A #574518 #185726
square
#182A57 #57184A #574518 #185726
split-complementary
#182A57 #572618 #4A5718
monochromatic
#070C18 #0B1327 #182A57 #254187 #3258B7

Accessibility & contrast

On white

13.93
#182A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A57
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A57#FFFFFF#000000##FFFFFF
##182A571.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F59
Deuteranopia (green-blind)
#052956
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182a57;
/* rgb */ color: rgb(24, 42, 87);
/* oklch */ color: oklch(29.7% 0.085 265.2);
Tailwind
colors: {
  custom: {
    50: '#5d6387',
    500: '#182a57',
    950: '#000000',
  },
}
SCSS
$custom: #182a57;
$custom-light: #5d6387;
$custom-dark: #000000;
JSON
{
  "hex": "#182a57",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 222.857,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29728,
    "c": 0.08468,
    "h": 265.2
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#182A57
secondary
#8E773D
accent
#B548E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #182A57

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

Preview Lab → · Contrast checker → · Palette generator →

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