#183894#183894

#183894 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.156 H 264.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#183894
RGBrgb(24, 56, 148)
HSLhsl(225, 72%, 34%)
HSVhsv(225, 84%, 58%)
CMYKcmyk(83.8%, 62.2%, 0%, 42%)
CIE-LABlab(27.19, 24.77, -53.67)
CIE-LCHlch(27.19, 59.11, 294.77°)
OKLaboklab(38.16% -0.0137 -0.1553)
OKLCHoklch(38.16% 0.156 264.9)
XYZxyz(7.1343, 5.1598, 28.6312)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183894 #947418
analogous
#187694 #183894 #361894
triadic
#183894 #941838 #389418
tetradic
#183894 #941876 #947418 #189436
square
#183894 #941876 #947418 #189436
split-complementary
#183894 #943618 #769418
monochromatic
#07102B #0F245F #183894 #214CC9 #456EE1

Accessibility & contrast

On white

10.33
#183894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#183894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183894
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183894#FFFFFF#000000##FFFFFF
##1838941.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183894;
/* rgb */ color: rgb(24, 56, 148);
/* oklch */ color: oklch(38.2% 0.156 264.9);
Tailwind
colors: {
  custom: {
    50: '#6c6eb4',
    500: '#183894',
    950: '#000000',
  },
}
SCSS
$custom: #183894;
$custom-light: #6c6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#183894",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 224.516,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38155,
    "c": 0.15591,
    "h": 264.9
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#183894
secondary
#C2A246
accent
#C039EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183894

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

Preview Lab → · Contrast checker → · Palette generator →

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