#203893#203893

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

Color values

HEX#203893
RGBrgb(32, 56, 147)
HSLhsl(227, 64%, 35%)
HSVhsv(227, 78%, 58%)
CMYKcmyk(78.2%, 61.9%, 0%, 42.4%)
CIE-LABlab(27.41, 25.17, -52.68)
CIE-LCHlch(27.41, 58.38, 295.54°)
OKLaboklab(38.38% -0.0073 -0.1522)
OKLCHoklch(38.38% 0.152 267.3)
XYZxyz(7.2745, 5.2412, 28.2264)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203893 #937B20
analogous
#207293 #203893 #412093
triadic
#203893 #932038 #389320
tetradic
#203893 #932072 #937B20 #209341
square
#203893 #932072 #937B20 #209341
split-complementary
#203893 #934120 #729320
monochromatic
#0A122E #152561 #203893 #2B4BC5 #5470DA

Accessibility & contrast

On white

10.25
#203893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#203893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203893
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203893#FFFFFF#000000##FFFFFF
##2038931.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203893;
/* rgb */ color: rgb(32, 56, 147);
/* oklch */ color: oklch(38.4% 0.152 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f6eb4',
    500: '#203893',
    950: '#000000',
  },
}
SCSS
$custom: #203893;
$custom-light: #6f6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#203893",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 227.478,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38383,
    "c": 0.15242,
    "h": 267.3
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#203893
secondary
#BDA752
accent
#C441E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #203893

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

Preview Lab → · Contrast checker → · Palette generator →

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