#202370#202370

#202370 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.130 H 274.1°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#202370
RGBrgb(32, 35, 112)
HSLhsl(238, 56%, 28%)
HSVhsv(238, 71%, 44%)
CMYKcmyk(71.4%, 68.8%, 0%, 56.1%)
CIE-LABlab(18.71, 26.04, -44.87)
CIE-LCHlch(18.71, 51.88, 300.13°)
OKLaboklab(30.99% 0.0094 -0.1295)
OKLCHoklch(30.99% 0.13 274.1)
XYZxyz(4.1204, 2.6786, 15.6260)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202370 #706D20
analogous
#204B70 #202370 #452070
triadic
#202370 #702023 #237020
tetradic
#202370 #70204B #706D20 #207045
square
#202370 #70204B #706D20 #207045
split-complementary
#202370 #704520 #4B7020
monochromatic
#070718 #121440 #202370 #2E32A0 #4247C9

Accessibility & contrast

On white

13.67
#202370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#202370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202370
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202370#FFFFFF#000000##FFFFFF
##2023701.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202370;
/* rgb */ color: rgb(32, 35, 112);
/* oklch */ color: oklch(31.0% 0.130 274.1);
Tailwind
colors: {
  custom: {
    50: '#685e9a',
    500: '#202370',
    950: '#000000',
  },
}
SCSS
$custom: #202370;
$custom-light: #685e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#202370",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 112
  },
  "hsl": {
    "h": 237.75,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30988,
    "c": 0.12989,
    "h": 274.1
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#202370
secondary
#A4A048
accent
#D949DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202370

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

Preview Lab → · Contrast checker → · Palette generator →

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