#182B7A#182B7A

#182B7A is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.136 H 267.6°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#182B7A
RGBrgb(24, 43, 122)
HSLhsl(228, 67%, 29%)
HSVhsv(228, 80%, 48%)
CMYKcmyk(80.3%, 64.8%, 0%, 52.2%)
CIE-LABlab(21.31, 23.39, -47.05)
CIE-LCHlch(21.31, 52.54, 296.44°)
OKLaboklab(33.06% -0.0057 -0.136)
OKLCHoklch(33.06% 0.136 267.6)
XYZxyz(4.7522, 3.3265, 18.8002)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B7A #7A6718
analogous
#185C7A #182B7A #36187A
triadic
#182B7A #7A182B #2B7A18
tetradic
#182B7A #7A185C #7A6718 #187A36
square
#182B7A #7A185C #7A6718 #187A36
split-complementary
#182B7A #7A3618 #5C7A18
monochromatic
#05091A #0E1947 #182B7A #223DAD #3555D7

Accessibility & contrast

On white

12.61
#182B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#182B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B7A
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B7A#FFFFFF#000000##FFFFFF
##182B7A1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182b7a;
/* rgb */ color: rgb(24, 43, 122);
/* oklch */ color: oklch(33.1% 0.136 267.6);
Tailwind
colors: {
  custom: {
    50: '#6664a1',
    500: '#182b7a',
    950: '#000000',
  },
}
SCSS
$custom: #182b7a;
$custom-light: #6664a1;
$custom-dark: #000000;
JSON
{
  "hex": "#182b7a",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 228.367,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33064,
    "c": 0.13617,
    "h": 267.6
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#182B7A
secondary
#AF993F
accent
#C93EEA
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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