#182B95#182B95

#182B95 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.173 H 267.6°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#182B95
RGBrgb(24, 43, 149)
HSLhsl(231, 72%, 34%)
HSVhsv(231, 84%, 58%)
CMYKcmyk(83.9%, 71.1%, 0%, 41.6%)
CIE-LABlab(23.97, 33.88, -59.57)
CIE-LCHlch(23.97, 68.53, 299.63°)
OKLaboklab(35.82% -0.0073 -0.1726)
OKLCHoklch(35.82% 0.173 267.6)
XYZxyz(6.6635, 4.0911, 28.8664)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B95 #958218
analogous
#186A95 #182B95 #441895
triadic
#182B95 #95182B #2B9518
tetradic
#182B95 #95186A #958218 #189544
square
#182B95 #95186A #958218 #189544
split-complementary
#182B95 #954418 #6A9518
monochromatic
#070D2C #101C60 #182B95 #203ACA #465EE1

Accessibility & contrast

On white

11.55
#182B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#182B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B95
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B95#FFFFFF#000000##FFFFFF
##182B951.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #182b95;
/* rgb */ color: rgb(24, 43, 149);
/* oklch */ color: oklch(35.8% 0.173 267.6);
Tailwind
colors: {
  custom: {
    50: '#6e64b5',
    500: '#182b95',
    950: '#000000',
  },
}
SCSS
$custom: #182b95;
$custom-light: #6e64b5;
$custom-dark: #000000;
JSON
{
  "hex": "#182b95",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 230.88,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35822,
    "c": 0.17278,
    "h": 267.6
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#182B95
secondary
#C2B046
accent
#D339EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #182B95

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

Preview Lab → · Contrast checker → · Palette generator →

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