#202256#202256

#202256 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.092 H 277.1°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#202256
RGBrgb(32, 34, 86)
HSLhsl(238, 46%, 23%)
HSVhsv(238, 63%, 34%)
CMYKcmyk(62.8%, 60.5%, 0%, 66.3%)
CIE-LABlab(16.12, 16.84, -31.94)
CIE-LCHlch(16.12, 36.11, 297.79°)
OKLaboklab(28.36% 0.0114 -0.0916)
OKLCHoklch(28.36% 0.092 277.1)
XYZxyz(2.8469, 2.1228, 9.0620)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202256 #565420
analogous
#203D56 #202256 #392056
triadic
#202256 #562022 #225620
tetradic
#202256 #56203D #565420 #205639
square
#202256 #56203D #565420 #205639
split-complementary
#202256 #563920 #3D5620
monochromatic
#080916 #0F1029 #202256 #313483 #4145AF

Accessibility & contrast

On white

14.74
#202256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#202256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202256
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202256#FFFFFF#000000##FFFFFF
##2022561.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#012E38
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #202256;
/* rgb */ color: rgb(32, 34, 86);
/* oklch */ color: oklch(28.4% 0.092 277.1);
Tailwind
colors: {
  custom: {
    50: '#625d86',
    500: '#202256',
    950: '#000000',
  },
}
SCSS
$custom: #202256;
$custom-light: #625d86;
$custom-dark: #000000;
JSON
{
  "hex": "#202256",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 237.778,
    "s": 45.763,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28358,
    "c": 0.0923,
    "h": 277.1
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#202256
secondary
#8B8847
accent
#D152D5
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #202256

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

Preview Lab → · Contrast checker → · Palette generator →

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