#182A95#182A95

#182A95 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.174 H 267.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#182A95
RGBrgb(24, 42, 149)
HSLhsl(231, 72%, 34%)
HSVhsv(231, 84%, 58%)
CMYKcmyk(83.9%, 71.8%, 0%, 41.6%)
CIE-LABlab(23.73, 34.53, -59.96)
CIE-LCHlch(23.73, 69.19, 299.94°)
OKLaboklab(35.65% -0.0069 -0.1738)
OKLCHoklch(35.65% 0.174 267.7)
XYZxyz(6.6276, 4.0192, 28.8544)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A95 #958318
analogous
#186995 #182A95 #451895
triadic
#182A95 #95182A #2A9518
tetradic
#182A95 #951869 #958318 #189545
square
#182A95 #951869 #958318 #189545
split-complementary
#182A95 #954518 #699518
monochromatic
#070C2C #101B60 #182A95 #2039CA #465DE1

Accessibility & contrast

On white

11.64
#182A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#182A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A95
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A95#FFFFFF#000000##FFFFFF
##182A951.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #182a95;
/* rgb */ color: rgb(24, 42, 149);
/* oklch */ color: oklch(35.7% 0.174 267.7);
Tailwind
colors: {
  custom: {
    50: '#6e64b5',
    500: '#182a95',
    950: '#000000',
  },
}
SCSS
$custom: #182a95;
$custom-light: #6e64b5;
$custom-dark: #000000;
JSON
{
  "hex": "#182a95",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 231.36,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35652,
    "c": 0.1739,
    "h": 267.7
  },
  "luminance": 0.0402
}

Semantic roles & 50–950 ramp

primary
#182A95
secondary
#C2B146
accent
#D539EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #182A95

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

Preview Lab → · Contrast checker → · Palette generator →

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