#203795#203795

#203795 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.156 H 267.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#203795
RGBrgb(32, 55, 149)
HSLhsl(228, 65%, 35%)
HSVhsv(228, 79%, 58%)
CMYKcmyk(78.5%, 63.1%, 0%, 41.6%)
CIE-LABlab(27.32, 26.63, -54.05)
CIE-LCHlch(27.32, 60.26, 296.23°)
OKLaboklab(38.37% -0.0066 -0.1563)
OKLCHoklch(38.37% 0.156 267.6)
XYZxyz(7.3848, 5.2086, 29.0441)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203795 #957E20
analogous
#207195 #203795 #432095
triadic
#203795 #952037 #379520
tetradic
#203795 #952071 #957E20 #209543
square
#203795 #952071 #957E20 #209543
split-complementary
#203795 #954320 #719520
monochromatic
#0A1230 #152463 #203795 #2B4AC7 #556FDA

Accessibility & contrast

On white

10.29
#203795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#203795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203795
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203795#FFFFFF#000000##FFFFFF
##2037951.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #203795;
/* rgb */ color: rgb(32, 55, 149);
/* oklch */ color: oklch(38.4% 0.156 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f6db5',
    500: '#203795',
    950: '#000000',
  },
}
SCSS
$custom: #203795;
$custom-light: #6f6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#203795",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 228.205,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38371,
    "c": 0.15642,
    "h": 267.6
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#203795
secondary
#BEA953
accent
#C740E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203795

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

Preview Lab → · Contrast checker → · Palette generator →

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