#182F8F#182F8F

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

Color values

HEX#182F8F
RGBrgb(24, 47, 143)
HSLhsl(228, 71%, 33%)
HSVhsv(228, 83%, 56%)
CMYKcmyk(83.2%, 67.1%, 0%, 43.9%)
CIE-LABlab(24.35, 28.94, -55.23)
CIE-LCHlch(24.35, 62.36, 297.66°)
OKLaboklab(35.92% -0.0087 -0.16)
OKLCHoklch(35.92% 0.16 266.9)
XYZxyz(6.3494, 4.2096, 26.4592)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F8F #8F7818
analogous
#186B8F #182F8F #3C188F
triadic
#182F8F #8F182F #2F8F18
tetradic
#182F8F #8F186B #8F7818 #188F3C
square
#182F8F #8F186B #8F7818 #188F3C
split-complementary
#182F8F #8F3C18 #6B8F18
monochromatic
#060D26 #0F1E5B #182F8F #2140C3 #4260DF

Accessibility & contrast

On white

11.40
#182F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182F8F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F8F#FFFFFF#000000##FFFFFF
##182F8F1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #182f8f;
/* rgb */ color: rgb(24, 47, 143);
/* oklch */ color: oklch(35.9% 0.160 266.9);
Tailwind
colors: {
  custom: {
    50: '#6c67b1',
    500: '#182f8f',
    950: '#000000',
  },
}
SCSS
$custom: #182f8f;
$custom-light: #6c67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#182f8f",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 228.403,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35919,
    "c": 0.1602,
    "h": 266.9
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#182F8F
secondary
#C0A843
accent
#CB3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #182F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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