#182F8E#182F8E

#182F8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.159 H 266.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#182F8E
RGBrgb(24, 47, 142)
HSLhsl(228, 71%, 33%)
HSVhsv(228, 83%, 56%)
CMYKcmyk(83.1%, 66.9%, 0%, 44.3%)
CIE-LABlab(24.26, 28.55, -54.77)
CIE-LCHlch(24.26, 61.77, 297.53°)
OKLaboklab(35.82% -0.0087 -0.1586)
OKLCHoklch(35.82% 0.159 266.9)
XYZxyz(6.2740, 4.1795, 26.0620)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F8E #8E7718
analogous
#186A8E #182F8E #3C188E
triadic
#182F8E #8E182F #2F8E18
tetradic
#182F8E #8E186A #8E7718 #188E3C
square
#182F8E #8E186A #8E7718 #188E3C
split-complementary
#182F8E #8E3C18 #6A8E18
monochromatic
#060C25 #0F1E5A #182F8E #2140C2 #4160DF

Accessibility & contrast

On white

11.44
#182F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#182F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F8E
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F8E#FFFFFF#000000##FFFFFF
##182F8E1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #182f8e;
/* rgb */ color: rgb(24, 47, 142);
/* oklch */ color: oklch(35.8% 0.159 266.9);
Tailwind
colors: {
  custom: {
    50: '#6c67b0',
    500: '#182f8e',
    950: '#000000',
  },
}
SCSS
$custom: #182f8e;
$custom-light: #6c67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#182f8e",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 228.305,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35818,
    "c": 0.15886,
    "h": 266.9
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#182F8E
secondary
#C0A742
accent
#CB3AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #182F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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