#182195#182195

#182195 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.183 H 268.8°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#182195
RGBrgb(24, 33, 149)
HSLhsl(236, 72%, 34%)
HSVhsv(236, 84%, 58%)
CMYKcmyk(83.9%, 77.9%, 0%, 41.6%)
CIE-LABlab(21.77, 40.03, -63.21)
CIE-LCHlch(21.77, 74.82, 302.34°)
OKLaboklab(34.24% -0.0038 -0.1831)
OKLCHoklch(34.24% 0.183 268.8)
XYZxyz(6.3435, 3.4511, 28.7597)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182195 #958C18
analogous
#186095 #182195 #4E1895
triadic
#182195 #951821 #219518
tetradic
#182195 #951860 #958C18 #18954E
square
#182195 #951860 #958C18 #18954E
split-complementary
#182195 #954E18 #609518
monochromatic
#070A2C #101560 #182195 #202DCA #4651E1

Accessibility & contrast

On white

12.42
#182195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#182195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182195
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182195#FFFFFF#000000##FFFFFF
##1821951.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#002E93
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182195;
/* rgb */ color: rgb(24, 33, 149);
/* oklch */ color: oklch(34.2% 0.183 268.8);
Tailwind
colors: {
  custom: {
    50: '#6f5eb5',
    500: '#182195',
    950: '#000000',
  },
}
SCSS
$custom: #182195;
$custom-light: #6f5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#182195",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 235.68,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34244,
    "c": 0.18319,
    "h": 268.8
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#182195
secondary
#C2B946
accent
#E239EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #182195

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

Preview Lab → · Contrast checker → · Palette generator →

#182195 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva