#183889#183889

#183889 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.141 H 264.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#183889
RGBrgb(24, 56, 137)
HSLhsl(223, 70%, 32%)
HSVhsv(223, 82%, 54%)
CMYKcmyk(82.5%, 59.1%, 0%, 46.3%)
CIE-LABlab(26.24, 20.34, -48.43)
CIE-LCHlch(26.24, 52.52, 292.78°)
OKLaboklab(37.15% -0.0141 -0.1399)
OKLCHoklch(37.15% 0.141 264.2)
XYZxyz(6.3046, 4.8279, 24.2617)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183889 #896918
analogous
#187189 #183889 #311889
triadic
#183889 #891838 #388918
tetradic
#183889 #891871 #896918 #188931
square
#183889 #891871 #896918 #188931
split-complementary
#183889 #893118 #718918
monochromatic
#060D21 #0F2355 #183889 #214DBD #3E6BDD

Accessibility & contrast

On white

10.68
#183889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#183889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183889
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183889#FFFFFF#000000##FFFFFF
##1838891.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183889;
/* rgb */ color: rgb(24, 56, 137);
/* oklch */ color: oklch(37.2% 0.141 264.2);
Tailwind
colors: {
  custom: {
    50: '#696eac',
    500: '#183889',
    950: '#000000',
  },
}
SCSS
$custom: #183889;
$custom-light: #696eac;
$custom-dark: #000000;
JSON
{
  "hex": "#183889",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 223.009,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37153,
    "c": 0.14061,
    "h": 264.2
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#183889
secondary
#BD9940
accent
#BB3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183889

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

Preview Lab → · Contrast checker → · Palette generator →

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