#182F82#182F82

#182F82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.142 H 266.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#182F82
RGBrgb(24, 47, 130)
HSLhsl(227, 69%, 30%)
HSVhsv(227, 82%, 51%)
CMYKcmyk(81.5%, 63.8%, 0%, 49%)
CIE-LABlab(23.13, 23.80, -49.12)
CIE-LCHlch(23.13, 54.59, 295.85°)
OKLaboklab(34.64% -0.0084 -0.1421)
OKLCHoklch(34.64% 0.142 266.6)
XYZxyz(5.4211, 3.8383, 21.5699)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F82 #826B18
analogous
#186482 #182F82 #361882
triadic
#182F82 #82182F #2F8218
tetradic
#182F82 #821864 #826B18 #188236
square
#182F82 #821864 #826B18 #188236
split-complementary
#182F82 #823618 #648218
monochromatic
#050A1B #0E1C4E #182F82 #2242B6 #3A5DDB

Accessibility & contrast

On white

11.88
#182F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#182F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F82
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F82#FFFFFF#000000##FFFFFF
##182F821.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182f82;
/* rgb */ color: rgb(24, 47, 130);
/* oklch */ color: oklch(34.6% 0.142 266.6);
Tailwind
colors: {
  custom: {
    50: '#6867a7',
    500: '#182f82',
    950: '#000000',
  },
}
SCSS
$custom: #182f82;
$custom-light: #6867a7;
$custom-dark: #000000;
JSON
{
  "hex": "#182f82",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 226.981,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34641,
    "c": 0.14234,
    "h": 266.6
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#182F82
secondary
#B69C40
accent
#C63CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #182F82

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

Preview Lab → · Contrast checker → · Palette generator →

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