#203995#203995

#203995 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.154 H 267.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#203995
RGBrgb(32, 57, 149)
HSLhsl(227, 65%, 35%)
HSVhsv(227, 79%, 58%)
CMYKcmyk(78.5%, 61.7%, 0%, 41.6%)
CIE-LABlab(27.85, 25.27, -53.19)
CIE-LCHlch(27.85, 58.88, 295.41°)
OKLaboklab(38.77% -0.008 -0.1537)
OKLCHoklch(38.77% 0.154 267)
XYZxyz(7.4817, 5.4024, 29.0764)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203995 #957C20
analogous
#207495 #203995 #412095
triadic
#203995 #952039 #399520
tetradic
#203995 #952074 #957C20 #209541
square
#203995 #952074 #957C20 #209541
split-complementary
#203995 #954120 #749520
monochromatic
#0A1230 #152663 #203995 #2B4CC7 #5571DA

Accessibility & contrast

On white

10.09
#203995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#203995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203995
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203995#FFFFFF#000000##FFFFFF
##2039951.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203995;
/* rgb */ color: rgb(32, 57, 149);
/* oklch */ color: oklch(38.8% 0.154 267.0);
Tailwind
colors: {
  custom: {
    50: '#6f6fb5',
    500: '#203995',
    950: '#000000',
  },
}
SCSS
$custom: #203995;
$custom-light: #6f6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#203995",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 227.179,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38765,
    "c": 0.15392,
    "h": 267
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#203995
secondary
#BEA753
accent
#C440E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203995

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

Preview Lab → · Contrast checker → · Palette generator →

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