#202F9B#202F9B

#202F9B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.174 H 269.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#202F9B
RGBrgb(32, 47, 155)
HSLhsl(233, 66%, 37%)
HSVhsv(233, 79%, 61%)
CMYKcmyk(79.4%, 69.7%, 0%, 39.2%)
CIE-LABlab(25.88, 34.20, -60.09)
CIE-LCHlch(25.88, 69.14, 299.64°)
OKLaboklab(37.49% -0.0023 -0.174)
OKLCHoklch(37.49% 0.174 269.2)
XYZxyz(7.5265, 4.7058, 31.5156)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F9B #9B8C20
analogous
#206D9B #202F9B #4F209B
triadic
#202F9B #9B202F #2F9B20
tetradic
#202F9B #9B206D #9B8C20 #209B4F
square
#202F9B #9B206D #9B8C20 #209B4F
split-complementary
#202F9B #9B4F20 #6D9B20
monochromatic
#0B1036 #162068 #202F9B #2A3ECE #5969DD

Accessibility & contrast

On white

10.82
#202F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#202F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F9B
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F9B#FFFFFF#000000##FFFFFF
##202F9B1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #202f9b;
/* rgb */ color: rgb(32, 47, 155);
/* oklch */ color: oklch(37.5% 0.174 269.2);
Tailwind
colors: {
  custom: {
    50: '#7168ba',
    500: '#202f9b',
    950: '#000000',
  },
}
SCSS
$custom: #202f9b;
$custom-light: #7168ba;
$custom-dark: #000000;
JSON
{
  "hex": "#202f9b",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 232.683,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37487,
    "c": 0.17402,
    "h": 269.2
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#202F9B
secondary
#C1B456
accent
#D43FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #202F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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