#182F9F#182F9F

#182F9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.181 H 266.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#182F9F
RGBrgb(24, 47, 159)
HSLhsl(230, 74%, 36%)
HSVhsv(230, 85%, 62%)
CMYKcmyk(84.9%, 70.4%, 0%, 37.6%)
CIE-LABlab(25.95, 35.05, -62.43)
CIE-LCHlch(25.95, 71.59, 299.31°)
OKLaboklab(37.57% -0.0097 -0.1809)
OKLCHoklch(37.57% 0.181 266.9)
XYZxyz(7.6490, 4.7295, 33.3039)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F9F #9F8818
analogous
#18729F #182F9F #44189F
triadic
#182F9F #9F182F #2F9F18
tetradic
#182F9F #9F1872 #9F8818 #189F44
square
#182F9F #9F1872 #9F8818 #189F44
split-complementary
#182F9F #9F4418 #729F18
monochromatic
#081035 #101F6A #182F9F #203FD4 #4D67E4

Accessibility & contrast

On white

10.79
#182F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#182F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F9F
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F9F#FFFFFF#000000##FFFFFF
##182F9F1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #182f9f;
/* rgb */ color: rgb(24, 47, 159);
/* oklch */ color: oklch(37.6% 0.181 266.9);
Tailwind
colors: {
  custom: {
    50: '#7068bd',
    500: '#182f9f',
    950: '#000000',
  },
}
SCSS
$custom: #182f9f;
$custom-light: #7068bd;
$custom-dark: #000000;
JSON
{
  "hex": "#182f9f",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 229.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37566,
    "c": 0.18121,
    "h": 266.9
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#182F9F
secondary
#C6B14D
accent
#D137F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #182F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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