#202E7C#202E7C

#202E7C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.133 H 270.0°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#202E7C
RGBrgb(32, 46, 124)
HSLhsl(231, 59%, 31%)
HSVhsv(231, 74%, 49%)
CMYKcmyk(74.2%, 62.9%, 0%, 51.4%)
CIE-LABlab(22.71, 23.08, -46.01)
CIE-LCHlch(22.71, 51.47, 296.64°)
OKLaboklab(34.27% 0.0001 -0.1328)
OKLCHoklch(34.27% 0.133 270)
XYZxyz(5.2095, 3.7158, 19.5075)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E7C #7C6E20
analogous
#205C7C #202E7C #40207C
triadic
#202E7C #7C202E #2E7C20
tetradic
#202E7C #7C205C #7C6E20 #207C40
square
#202E7C #7C205C #7C6E20 #207C40
split-complementary
#202E7C #7C4020 #5C7C20
monochromatic
#070A1B #131C4B #202E7C #2D40AD #475CCF

Accessibility & contrast

On white

12.05
#202E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#202E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202E7C
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E7C#FFFFFF#000000##FFFFFF
##202E7C1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202e7c;
/* rgb */ color: rgb(32, 46, 124);
/* oklch */ color: oklch(34.3% 0.133 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a66a3',
    500: '#202e7c',
    950: '#000000',
  },
}
SCSS
$custom: #202e7c;
$custom-light: #6a66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#202e7c",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 230.87,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34269,
    "c": 0.1328,
    "h": 270
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#202E7C
secondary
#AF9F49
accent
#CA46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #202E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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