#183195#183195

#183195 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.166 H 266.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#183195
RGBrgb(24, 49, 149)
HSLhsl(228, 72%, 34%)
HSVhsv(228, 84%, 58%)
CMYKcmyk(83.9%, 67.1%, 0%, 41.6%)
CIE-LABlab(25.44, 29.93, -57.15)
CIE-LCHlch(25.44, 64.51, 297.64°)
OKLaboklab(36.9% -0.01 -0.1655)
OKLCHoklch(36.9% 0.166 266.6)
XYZxyz(6.8979, 4.5599, 28.9445)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183195 #957C18
analogous
#187095 #183195 #3E1895
triadic
#183195 #951831 #319518
tetradic
#183195 #951870 #957C18 #18953E
square
#183195 #951870 #957C18 #18953E
split-complementary
#183195 #953E18 #709518
monochromatic
#070E2C #102060 #183195 #2042CA #4665E1

Accessibility & contrast

On white

10.98
#183195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#183195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183195
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183195#FFFFFF#000000##FFFFFF
##1831951.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183195;
/* rgb */ color: rgb(24, 49, 149);
/* oklch */ color: oklch(36.9% 0.166 266.6);
Tailwind
colors: {
  custom: {
    50: '#6d69b5',
    500: '#183195',
    950: '#000000',
  },
}
SCSS
$custom: #183195;
$custom-light: #6d69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#183195",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 228,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36895,
    "c": 0.16584,
    "h": 266.6
  },
  "luminance": 0.04561
}

Semantic roles & 50–950 ramp

primary
#183195
secondary
#C2AA46
accent
#CB39EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #183195

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

Preview Lab → · Contrast checker → · Palette generator →

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