#182095#182095

#182095 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.184 H 268.9°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#182095
RGBrgb(24, 32, 149)
HSLhsl(236, 72%, 34%)
HSVhsv(236, 84%, 58%)
CMYKcmyk(83.9%, 78.5%, 0%, 41.6%)
CIE-LABlab(21.57, 40.60, -63.54)
CIE-LCHlch(21.57, 75.40, 302.58°)
OKLaboklab(34.1% -0.0035 -0.1841)
OKLCHoklch(34.1% 0.184 268.9)
XYZxyz(6.3162, 3.3964, 28.7506)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182095 #958D18
analogous
#185F95 #182095 #4F1895
triadic
#182095 #951820 #209518
tetradic
#182095 #95185F #958D18 #18954F
square
#182095 #95185F #958D18 #18954F
split-complementary
#182095 #954F18 #5F9518
monochromatic
#07092C #101560 #182095 #202BCA #4650E1

Accessibility & contrast

On white

12.50
#182095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#182095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182095
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182095#FFFFFF#000000##FFFFFF
##1820951.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182095;
/* rgb */ color: rgb(24, 32, 149);
/* oklch */ color: oklch(34.1% 0.184 268.9);
Tailwind
colors: {
  custom: {
    50: '#6f5db5',
    500: '#182095',
    950: '#000000',
  },
}
SCSS
$custom: #182095;
$custom-light: #6f5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#182095",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 236.16,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34103,
    "c": 0.18413,
    "h": 268.9
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#182095
secondary
#C2BA46
accent
#E339EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #182095

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

Preview Lab → · Contrast checker → · Palette generator →

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