#182C5B#182C5B

#182C5B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.088 H 264.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#182C5B
RGBrgb(24, 44, 91)
HSLhsl(222, 58%, 23%)
HSVhsv(222, 74%, 36%)
CMYKcmyk(73.6%, 51.6%, 0%, 64.3%)
CIE-LABlab(19.02, 9.93, -30.64)
CIE-LCHlch(19.02, 32.21, 287.96°)
OKLaboklab(30.53% -0.0085 -0.0878)
OKLCHoklch(30.53% 0.088 264.4)
XYZxyz(3.1650, 2.7506, 10.2596)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C5B #5B4718
analogous
#184D5B #182C5B #26185B
triadic
#182C5B #5B182C #2C5B18
tetradic
#182C5B #5B184D #5B4718 #185B26
square
#182C5B #5B184D #5B4718 #185B26
split-complementary
#182C5B #5B2618 #4D5B18
monochromatic
#060C18 #0B152B #182C5B #25438B #325BBC

Accessibility & contrast

On white

13.55
#182C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182C5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C5B
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C5B#FFFFFF#000000##FFFFFF
##182C5B1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13315D
Deuteranopia (green-blind)
#042B5A
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182c5b;
/* rgb */ color: rgb(24, 44, 91);
/* oklch */ color: oklch(30.5% 0.088 264.4);
Tailwind
colors: {
  custom: {
    50: '#5e648a',
    500: '#182c5b',
    950: '#000000',
  },
}
SCSS
$custom: #182c5b;
$custom-light: #5e648a;
$custom-dark: #000000;
JSON
{
  "hex": "#182c5b",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 91
  },
  "hsl": {
    "h": 222.09,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3053,
    "c": 0.08823,
    "h": 264.4
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#182C5B
secondary
#92783D
accent
#B346E1
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #182C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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