#20256F#20256F

#20256F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.126 H 273.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#20256F
RGBrgb(32, 37, 111)
HSLhsl(236, 55%, 28%)
HSVhsv(236, 71%, 44%)
CMYKcmyk(71.2%, 66.7%, 0%, 56.5%)
CIE-LABlab(19.13, 24.30, -43.53)
CIE-LCHlch(19.13, 49.85, 299.17°)
OKLaboklab(31.27% 0.0078 -0.1256)
OKLCHoklch(31.27% 0.126 273.6)
XYZxyz(4.1255, 2.7775, 15.3545)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20256F #6F6A20
analogous
#204C6F #20256F #43206F
triadic
#20256F #6F2025 #256F20
tetradic
#20256F #6F204C #6F6A20 #206F43
square
#20256F #6F204C #6F6A20 #206F43
split-complementary
#20256F #6F4320 #4C6F20
monochromatic
#070818 #12153F #20256F #2E359F #414AC8

Accessibility & contrast

On white

13.50
#20256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#20256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20256F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20256F#FFFFFF#000000##FFFFFF
##20256F1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20256f;
/* rgb */ color: rgb(32, 37, 111);
/* oklch */ color: oklch(31.3% 0.126 273.6);
Tailwind
colors: {
  custom: {
    50: '#675f99',
    500: '#20256f',
    950: '#000000',
  },
}
SCSS
$custom: #20256f;
$custom-light: #675f99;
$custom-dark: #000000;
JSON
{
  "hex": "#20256f",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 236.203,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31267,
    "c": 0.12585,
    "h": 273.6
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#20256F
secondary
#A39D48
accent
#D549DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #20256F

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

Preview Lab → · Contrast checker → · Palette generator →

#20256F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva