#183893#183893

#183893 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.155 H 264.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#183893
RGBrgb(24, 56, 147)
HSLhsl(224, 72%, 34%)
HSVhsv(224, 84%, 58%)
CMYKcmyk(83.7%, 61.9%, 0%, 42.4%)
CIE-LABlab(27.10, 24.37, -53.20)
CIE-LCHlch(27.10, 58.52, 294.61°)
OKLaboklab(38.06% -0.0137 -0.1539)
OKLCHoklch(38.06% 0.155 264.9)
XYZxyz(7.0555, 5.1283, 28.2161)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183893 #937318
analogous
#187593 #183893 #351893
triadic
#183893 #931838 #389318
tetradic
#183893 #931875 #937318 #189335
square
#183893 #931875 #937318 #189335
split-complementary
#183893 #933518 #759318
monochromatic
#07102A #0F245E #183893 #214CC8 #456DE1

Accessibility & contrast

On white

10.37
#183893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183893
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183893#FFFFFF#000000##FFFFFF
##1838931.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183893;
/* rgb */ color: rgb(24, 56, 147);
/* oklch */ color: oklch(38.1% 0.155 264.9);
Tailwind
colors: {
  custom: {
    50: '#6c6eb4',
    500: '#183893',
    950: '#000000',
  },
}
SCSS
$custom: #183893;
$custom-light: #6c6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#183893",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 224.39,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38062,
    "c": 0.15453,
    "h": 264.9
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#183893
secondary
#C2A145
accent
#BF39EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183893

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

Preview Lab → · Contrast checker → · Palette generator →

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