#183995#183995

#183995 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.156 H 264.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#183995
RGBrgb(24, 57, 149)
HSLhsl(224, 72%, 34%)
HSVhsv(224, 84%, 58%)
CMYKcmyk(83.9%, 61.7%, 0%, 41.6%)
CIE-LABlab(27.54, 24.48, -53.70)
CIE-LCHlch(27.54, 59.02, 294.51°)
OKLaboklab(38.45% -0.0143 -0.1554)
OKLCHoklch(38.45% 0.156 264.7)
XYZxyz(7.2627, 5.2895, 29.0661)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183995 #957418
analogous
#187895 #183995 #361895
triadic
#183995 #951839 #399518
tetradic
#183995 #951878 #957418 #189536
square
#183995 #951878 #957418 #189536
split-complementary
#183995 #953618 #789518
monochromatic
#07112C #102560 #183995 #204DCA #466FE1

Accessibility & contrast

On white

10.20
#183995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#183995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183995
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183995#FFFFFF#000000##FFFFFF
##1839951.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183995;
/* rgb */ color: rgb(24, 57, 149);
/* oklch */ color: oklch(38.5% 0.156 264.7);
Tailwind
colors: {
  custom: {
    50: '#6d6fb5',
    500: '#183995',
    950: '#000000',
  },
}
SCSS
$custom: #183995;
$custom-light: #6d6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#183995",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 224.16,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.15602,
    "h": 264.7
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#183995
secondary
#C2A246
accent
#BF39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183995

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

Preview Lab → · Contrast checker → · Palette generator →

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