#183287#183287

#183287 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.146 H 266.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#183287
RGBrgb(24, 50, 135)
HSLhsl(226, 70%, 31%)
HSVhsv(226, 82%, 53%)
CMYKcmyk(82.2%, 63%, 0%, 47.1%)
CIE-LABlab(24.40, 23.72, -50.18)
CIE-LCHlch(24.40, 55.51, 295.30°)
OKLaboklab(35.72% -0.0103 -0.1451)
OKLCHoklch(35.72% 0.146 266)
XYZxyz(5.8889, 4.2240, 23.4219)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183287 #876D18
analogous
#186987 #183287 #351887
triadic
#183287 #871832 #328718
tetradic
#183287 #871869 #876D18 #188735
square
#183287 #871869 #876D18 #188735
split-complementary
#183287 #873518 #698718
monochromatic
#060C1F #0F1F53 #183287 #2145BB #3D62DC

Accessibility & contrast

On white

11.38
#183287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#183287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183287
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183287#FFFFFF#000000##FFFFFF
##1832871.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183287;
/* rgb */ color: rgb(24, 50, 135);
/* oklch */ color: oklch(35.7% 0.146 266.0);
Tailwind
colors: {
  custom: {
    50: '#6969ab',
    500: '#183287',
    950: '#000000',
  },
}
SCSS
$custom: #183287;
$custom-light: #6969ab;
$custom-dark: #000000;
JSON
{
  "hex": "#183287",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 225.946,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35723,
    "c": 0.14551,
    "h": 266
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#183287
secondary
#BB9E40
accent
#C33BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #183287

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

Preview Lab → · Contrast checker → · Palette generator →

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