#182A8F#182A8F

#182A8F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.166 H 267.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#182A8F
RGBrgb(24, 42, 143)
HSLhsl(231, 71%, 33%)
HSVhsv(231, 83%, 56%)
CMYKcmyk(83.2%, 70.6%, 0%, 43.9%)
CIE-LABlab(23.11, 32.27, -57.28)
CIE-LCHlch(23.11, 65.74, 299.40°)
OKLaboklab(35.01% -0.0063 -0.1659)
OKLCHoklch(35.01% 0.166 267.8)
XYZxyz(6.1609, 3.8326, 26.3963)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A8F #8F7D18
analogous
#18668F #182A8F #41188F
triadic
#182A8F #8F182A #2A8F18
tetradic
#182A8F #8F1866 #8F7D18 #188F41
square
#182A8F #8F1866 #8F7D18 #188F41
split-complementary
#182A8F #8F4118 #668F18
monochromatic
#060B26 #0F1B5B #182A8F #2139C3 #425ADF

Accessibility & contrast

On white

11.89
#182A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A8F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A8F#FFFFFF#000000##FFFFFF
##182A8F1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182a8f;
/* rgb */ color: rgb(24, 42, 143);
/* oklch */ color: oklch(35.0% 0.166 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c64b1',
    500: '#182a8f',
    950: '#000000',
  },
}
SCSS
$custom: #182a8f;
$custom-light: #6c64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#182a8f",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 230.924,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35012,
    "c": 0.16607,
    "h": 267.8
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#182A8F
secondary
#C0AD43
accent
#D33AEE
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #182A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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