#182F84#182F84

#182F84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.145 H 266.7°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#182F84
RGBrgb(24, 47, 132)
HSLhsl(227, 69%, 31%)
HSVhsv(227, 82%, 52%)
CMYKcmyk(81.8%, 64.4%, 0%, 48.2%)
CIE-LABlab(23.31, 24.60, -50.08)
CIE-LCHlch(23.31, 55.80, 296.16°)
OKLaboklab(34.83% -0.0084 -0.1449)
OKLCHoklch(34.83% 0.145 266.7)
XYZxyz(5.5566, 3.8925, 22.2838)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F84 #846D18
analogous
#186584 #182F84 #371884
triadic
#182F84 #84182F #2F8418
tetradic
#182F84 #841865 #846D18 #188437
square
#182F84 #841865 #846D18 #188437
split-complementary
#182F84 #843718 #658418
monochromatic
#050A1C #0F1D50 #182F84 #2141B8 #3B5DDB

Accessibility & contrast

On white

11.81
#182F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#182F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F84
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F84#FFFFFF#000000##FFFFFF
##182F841.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #182f84;
/* rgb */ color: rgb(24, 47, 132);
/* oklch */ color: oklch(34.8% 0.145 266.7);
Tailwind
colors: {
  custom: {
    50: '#6967a9',
    500: '#182f84',
    950: '#000000',
  },
}
SCSS
$custom: #182f84;
$custom-light: #6967a9;
$custom-dark: #000000;
JSON
{
  "hex": "#182f84",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 227.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34834,
    "c": 0.14513,
    "h": 266.7
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#182F84
secondary
#B89E40
accent
#C73CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #182F84

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

Preview Lab → · Contrast checker → · Palette generator →

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