#182F7A#182F7A

#182F7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.131 H 266.3°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#182F7A
RGBrgb(24, 47, 122)
HSLhsl(226, 67%, 29%)
HSVhsv(226, 80%, 48%)
CMYKcmyk(80.3%, 61.5%, 0%, 52.2%)
CIE-LABlab(22.41, 20.57, -45.24)
CIE-LCHlch(22.41, 49.69, 294.45°)
OKLaboklab(33.89% -0.0085 -0.1307)
OKLCHoklch(33.89% 0.131 266.3)
XYZxyz(4.9048, 3.6318, 18.8511)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F7A #7A6318
analogous
#18607A #182F7A #32187A
triadic
#182F7A #7A182F #2F7A18
tetradic
#182F7A #7A1860 #7A6318 #187A32
square
#182F7A #7A1860 #7A6318 #187A32
split-complementary
#182F7A #7A3218 #607A18
monochromatic
#050A1A #0E1B47 #182F7A #2243AD #355BD7

Accessibility & contrast

On white

12.16
#182F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#182F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F7A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F7A#FFFFFF#000000##FFFFFF
##182F7A1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182f7a;
/* rgb */ color: rgb(24, 47, 122);
/* oklch */ color: oklch(33.9% 0.131 266.3);
Tailwind
colors: {
  custom: {
    50: '#6667a1',
    500: '#182f7a',
    950: '#000000',
  },
}
SCSS
$custom: #182f7a;
$custom-light: #6667a1;
$custom-dark: #000000;
JSON
{
  "hex": "#182f7a",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 225.918,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33888,
    "c": 0.13096,
    "h": 266.3
  },
  "luminance": 0.03632
}

Semantic roles & 50–950 ramp

primary
#182F7A
secondary
#AF953F
accent
#C23EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #182F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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