#183495#183495

#183495 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.162 H 265.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#183495
RGBrgb(24, 52, 149)
HSLhsl(227, 72%, 34%)
HSVhsv(227, 84%, 58%)
CMYKcmyk(83.9%, 65.1%, 0%, 41.6%)
CIE-LABlab(26.21, 27.90, -55.88)
CIE-LCHlch(26.21, 62.46, 296.54°)
OKLaboklab(37.46% -0.0115 -0.1618)
OKLCHoklch(37.46% 0.162 265.9)
XYZxyz(7.0276, 4.8193, 28.9878)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183495 #957918
analogous
#187395 #183495 #3B1895
triadic
#183495 #951834 #349518
tetradic
#183495 #951873 #957918 #18953B
square
#183495 #951873 #957918 #18953B
split-complementary
#183495 #953B18 #739518
monochromatic
#070F2C #102260 #183495 #2046CA #4669E1

Accessibility & contrast

On white

10.69
#183495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#183495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183495
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183495#FFFFFF#000000##FFFFFF
##1834951.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183495;
/* rgb */ color: rgb(24, 52, 149);
/* oklch */ color: oklch(37.5% 0.162 265.9);
Tailwind
colors: {
  custom: {
    50: '#6d6bb5',
    500: '#183495',
    950: '#000000',
  },
}
SCSS
$custom: #183495;
$custom-light: #6d6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#183495",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 226.56,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37462,
    "c": 0.16222,
    "h": 265.9
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#183495
secondary
#C2A746
accent
#C639EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #183495

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

Preview Lab → · Contrast checker → · Palette generator →

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