#183994#183994

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

Color values

HEX#183994
RGBrgb(24, 57, 148)
HSLhsl(224, 72%, 34%)
HSVhsv(224, 84%, 58%)
CMYKcmyk(83.8%, 61.5%, 0%, 42%)
CIE-LABlab(27.46, 24.08, -53.23)
CIE-LCHlch(27.46, 58.42, 294.34°)
OKLaboklab(38.36% -0.0143 -0.154)
OKLCHoklch(38.36% 0.155 264.7)
XYZxyz(7.1832, 5.2577, 28.6475)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183994 #947318
analogous
#187794 #183994 #351894
triadic
#183994 #941839 #399418
tetradic
#183994 #941877 #947318 #189435
square
#183994 #941877 #947318 #189435
split-complementary
#183994 #943518 #779418
monochromatic
#07102B #0F255F #183994 #214DC9 #456FE1

Accessibility & contrast

On white

10.23
#183994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#183994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183994
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183994#FFFFFF#000000##FFFFFF
##1839941.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183994;
/* rgb */ color: rgb(24, 57, 148);
/* oklch */ color: oklch(38.4% 0.155 264.7);
Tailwind
colors: {
  custom: {
    50: '#6c6eb4',
    500: '#183994',
    950: '#000000',
  },
}
SCSS
$custom: #183994;
$custom-light: #6c6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#183994",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 224.032,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38357,
    "c": 0.15465,
    "h": 264.7
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#183994
secondary
#C2A146
accent
#BE39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183994

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

Preview Lab → · Contrast checker → · Palette generator →

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