#203397#203397

#203397 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.164 H 268.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#203397
RGBrgb(32, 51, 151)
HSLhsl(230, 65%, 36%)
HSVhsv(230, 79%, 59%)
CMYKcmyk(78.8%, 66.2%, 0%, 40.8%)
CIE-LABlab(26.47, 30.08, -56.67)
CIE-LCHlch(26.47, 64.16, 297.96°)
OKLaboklab(37.8% -0.0042 -0.164)
OKLCHoklch(37.8% 0.164 268.5)
XYZxyz(7.3635, 4.9083, 29.8315)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203397 #978420
analogous
#206E97 #203397 #482097
triadic
#203397 #972033 #339720
tetradic
#203397 #97206E #978420 #209748
square
#203397 #97206E #978420 #209748
split-complementary
#203397 #974820 #6E9720
monochromatic
#0B1132 #152264 #203397 #2B44C9 #566BDB

Accessibility & contrast

On white

10.60
#203397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#203397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203397
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203397#FFFFFF#000000##FFFFFF
##2033971.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #203397;
/* rgb */ color: rgb(32, 51, 151);
/* oklch */ color: oklch(37.8% 0.164 268.5);
Tailwind
colors: {
  custom: {
    50: '#706ab7',
    500: '#203397',
    950: '#000000',
  },
}
SCSS
$custom: #203397;
$custom-light: #706ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#203397",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 230.42,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37801,
    "c": 0.16404,
    "h": 268.5
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#203397
secondary
#BFAE54
accent
#CD40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #203397

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

Preview Lab → · Contrast checker → · Palette generator →

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