#202E97#202E97

#202E97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.170 H 269.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#202E97
RGBrgb(32, 46, 151)
HSLhsl(233, 65%, 36%)
HSVhsv(233, 79%, 59%)
CMYKcmyk(78.8%, 69.5%, 0%, 40.8%)
CIE-LABlab(25.24, 33.36, -58.69)
CIE-LCHlch(25.24, 67.51, 299.62°)
OKLaboklab(36.91% -0.0015 -0.1699)
OKLCHoklch(36.91% 0.17 269.5)
XYZxyz(7.1567, 4.4946, 29.7625)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E97 #978920
analogous
#206997 #202E97 #4D2097
triadic
#202E97 #97202E #2E9720
tetradic
#202E97 #972069 #978920 #20974D
square
#202E97 #972069 #978920 #20974D
split-complementary
#202E97 #974D20 #699720
monochromatic
#0B0F32 #151F64 #202E97 #2B3DC9 #5666DB

Accessibility & contrast

On white

11.06
#202E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#202E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202E97
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E97#FFFFFF#000000##FFFFFF
##202E971.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #202e97;
/* rgb */ color: rgb(32, 46, 151);
/* oklch */ color: oklch(36.9% 0.170 269.5);
Tailwind
colors: {
  custom: {
    50: '#7067b7',
    500: '#202e97',
    950: '#000000',
  },
}
SCSS
$custom: #202e97;
$custom-light: #7067b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202e97",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 232.941,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36905,
    "c": 0.16992,
    "h": 269.5
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#202E97
secondary
#BFB254
accent
#D440E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #202E97

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

Preview Lab → · Contrast checker → · Palette generator →

#202E97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva