#202274#202274

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

Color values

HEX#202274
RGBrgb(32, 34, 116)
HSLhsl(239, 57%, 29%)
HSVhsv(239, 72%, 45%)
CMYKcmyk(72.4%, 70.7%, 0%, 54.5%)
CIE-LABlab(18.85, 28.21, -47.22)
CIE-LCHlch(18.85, 55.00, 300.85°)
OKLaboklab(31.21% 0.0097 -0.1364)
OKLCHoklch(31.21% 0.137 274.1)
XYZxyz(4.3190, 2.7117, 16.8154)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202274 #747220
analogous
#204C74 #202274 #482074
triadic
#202274 #742022 #227420
tetradic
#202274 #74204C #747220 #207448
square
#202274 #74204C #747220 #207448
split-complementary
#202274 #744820 #4C7420
monochromatic
#070718 #131444 #202274 #2D30A4 #4346CB

Accessibility & contrast

On white

13.62
#202274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202274
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202274#FFFFFF#000000##FFFFFF
##2022741.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202274;
/* rgb */ color: rgb(32, 34, 116);
/* oklch */ color: oklch(31.2% 0.137 274.1);
Tailwind
colors: {
  custom: {
    50: '#695d9d',
    500: '#202274',
    950: '#000000',
  },
}
SCSS
$custom: #202274;
$custom-light: #695d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#202274",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 238.571,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31211,
    "c": 0.13676,
    "h": 274.1
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#202274
secondary
#A8A548
accent
#DC48E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202274

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

Preview Lab → · Contrast checker → · Palette generator →

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