#203297#203297

#203297 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.165 H 268.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#203297
RGBrgb(32, 50, 151)
HSLhsl(231, 65%, 36%)
HSVhsv(231, 79%, 59%)
CMYKcmyk(78.8%, 66.9%, 0%, 40.8%)
CIE-LABlab(26.22, 30.75, -57.08)
CIE-LCHlch(26.22, 64.84, 298.31°)
OKLaboklab(37.62% -0.0037 -0.1652)
OKLCHoklch(37.62% 0.165 268.7)
XYZxyz(7.3203, 4.8218, 29.8171)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203297 #978520
analogous
#206D97 #203297 #492097
triadic
#203297 #972032 #329720
tetradic
#203297 #97206D #978520 #209749
square
#203297 #97206D #978520 #209749
split-complementary
#203297 #974920 #6D9720
monochromatic
#0B1132 #152164 #203297 #2B43C9 #566ADB

Accessibility & contrast

On white

10.69
#203297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#203297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203297
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203297#FFFFFF#000000##FFFFFF
##2032971.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #203297;
/* rgb */ color: rgb(32, 50, 151);
/* oklch */ color: oklch(37.6% 0.165 268.7);
Tailwind
colors: {
  custom: {
    50: '#706ab7',
    500: '#203297',
    950: '#000000',
  },
}
SCSS
$custom: #203297;
$custom-light: #706ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#203297",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 230.924,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37617,
    "c": 0.16524,
    "h": 268.7
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#203297
secondary
#BFAF54
accent
#CF40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #203297

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

Preview Lab → · Contrast checker → · Palette generator →

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