#183789#183789

#183789 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.142 H 264.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#183789
RGBrgb(24, 55, 137)
HSLhsl(224, 70%, 32%)
HSVhsv(224, 82%, 54%)
CMYKcmyk(82.5%, 59.9%, 0%, 46.3%)
CIE-LABlab(25.96, 21.03, -48.88)
CIE-LCHlch(25.96, 53.22, 293.28°)
OKLaboklab(36.94% -0.0134 -0.1413)
OKLCHoklch(36.94% 0.142 264.6)
XYZxyz(6.2566, 4.7320, 24.2457)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183789 #896A18
analogous
#187089 #183789 #321889
triadic
#183789 #891837 #378918
tetradic
#183789 #891870 #896A18 #188932
square
#183789 #891870 #896A18 #188932
split-complementary
#183789 #893218 #708918
monochromatic
#060D21 #0F2255 #183789 #214CBD #3E6ADD

Accessibility & contrast

On white

10.79
#183789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#183789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183789
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183789#FFFFFF#000000##FFFFFF
##1837891.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183789;
/* rgb */ color: rgb(24, 55, 137);
/* oklch */ color: oklch(36.9% 0.142 264.6);
Tailwind
colors: {
  custom: {
    50: '#6a6dac',
    500: '#183789',
    950: '#000000',
  },
}
SCSS
$custom: #183789;
$custom-light: #6a6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#183789",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 223.54,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36941,
    "c": 0.1419,
    "h": 264.6
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#183789
secondary
#BD9A40
accent
#BC3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183789

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

Preview Lab → · Contrast checker → · Palette generator →

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