#182C5A#182C5A

#182C5A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.087 H 264.2°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#182C5A
RGBrgb(24, 44, 90)
HSLhsl(222, 58%, 22%)
HSVhsv(222, 73%, 35%)
CMYKcmyk(73.3%, 51.1%, 0%, 64.7%)
CIE-LABlab(18.94, 9.52, -30.09)
CIE-LCHlch(18.94, 31.56, 287.55°)
OKLaboklab(30.45% -0.0087 -0.0862)
OKLCHoklch(30.45% 0.087 264.2)
XYZxyz(3.1222, 2.7334, 10.0339)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C5A #5A4618
analogous
#184D5A #182C5A #25185A
triadic
#182C5A #5A182C #2C5A18
tetradic
#182C5A #5A184D #5A4618 #185A25
square
#182C5A #5A184D #5A4618 #185A25
split-complementary
#182C5A #5A2518 #4D5A18
monochromatic
#060C18 #0B142A #182C5A #25448A #325BBB

Accessibility & contrast

On white

13.58
#182C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182C5A
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C5A#FFFFFF#000000##FFFFFF
##182C5A1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14315C
Deuteranopia (green-blind)
#062B59
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182c5a;
/* rgb */ color: rgb(24, 44, 90);
/* oklch */ color: oklch(30.5% 0.087 264.2);
Tailwind
colors: {
  custom: {
    50: '#5e6489',
    500: '#182c5a',
    950: '#000000',
  },
}
SCSS
$custom: #182c5a;
$custom-light: #5e6489;
$custom-dark: #000000;
JSON
{
  "hex": "#182c5a",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 90
  },
  "hsl": {
    "h": 221.818,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30451,
    "c": 0.08664,
    "h": 264.2
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#182C5A
secondary
#91773D
accent
#B247E1
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #182C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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