#182A5B#182A5B

#182A5B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.091 H 265.9°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#182A5B
RGBrgb(24, 42, 91)
HSLhsl(224, 58%, 23%)
HSVhsv(224, 74%, 36%)
CMYKcmyk(73.6%, 53.8%, 0%, 64.3%)
CIE-LABlab(18.39, 11.40, -31.65)
CIE-LCHlch(18.39, 33.64, 289.80°)
OKLaboklab(30.05% -0.0065 -0.0908)
OKLCHoklch(30.05% 0.091 265.9)
XYZxyz(3.0923, 2.6051, 10.2354)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A5B #5B4918
analogous
#184B5B #182A5B #28185B
triadic
#182A5B #5B182A #2A5B18
tetradic
#182A5B #5B184B #5B4918 #185B28
square
#182A5B #5B184B #5B4918 #185B28
split-complementary
#182A5B #5B2818 #4B5B18
monochromatic
#060B18 #0B142B #182A5B #25408B #3257BC

Accessibility & contrast

On white

13.81
#182A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A5B
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A5B#FFFFFF#000000##FFFFFF
##182A5B1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E305D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182a5b;
/* rgb */ color: rgb(24, 42, 91);
/* oklch */ color: oklch(30.1% 0.091 265.9);
Tailwind
colors: {
  custom: {
    50: '#5e638a',
    500: '#182a5b',
    950: '#000000',
  },
}
SCSS
$custom: #182a5b;
$custom-light: #5e638a;
$custom-dark: #000000;
JSON
{
  "hex": "#182a5b",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 223.881,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30051,
    "c": 0.09105,
    "h": 265.9
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#182A5B
secondary
#927B3D
accent
#B846E1
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #182A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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