#202374#202374

#202374 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.136 H 273.8°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#202374
RGBrgb(32, 35, 116)
HSLhsl(238, 57%, 29%)
HSVhsv(238, 72%, 45%)
CMYKcmyk(72.4%, 69.8%, 0%, 54.5%)
CIE-LABlab(19.10, 27.54, -46.81)
CIE-LCHlch(19.10, 54.31, 300.47°)
OKLaboklab(31.39% 0.009 -0.1352)
OKLCHoklch(31.39% 0.136 273.8)
XYZxyz(4.3480, 2.7697, 16.8251)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202374 #747120
analogous
#204D74 #202374 #472074
triadic
#202374 #742023 #237420
tetradic
#202374 #74204D #747120 #207447
square
#202374 #74204D #747120 #207447
split-complementary
#202374 #744720 #4D7420
monochromatic
#070718 #131544 #202374 #2D31A4 #4348CB

Accessibility & contrast

On white

13.51
#202374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#202374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202374
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202374#FFFFFF#000000##FFFFFF
##2023741.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202374;
/* rgb */ color: rgb(32, 35, 116);
/* oklch */ color: oklch(31.4% 0.136 273.8);
Tailwind
colors: {
  custom: {
    50: '#695e9d',
    500: '#202374',
    950: '#000000',
  },
}
SCSS
$custom: #202374;
$custom-light: #695e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#202374",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 237.857,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3139,
    "c": 0.13553,
    "h": 273.8
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#202374
secondary
#A8A448
accent
#DB48E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202374

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

Preview Lab → · Contrast checker → · Palette generator →

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