#20264A#20264A

#20264A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.066 H 274.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#20264A
RGBrgb(32, 38, 74)
HSLhsl(231, 40%, 21%)
HSVhsv(231, 57%, 29%)
CMYKcmyk(56.8%, 48.6%, 0%, 71%)
CIE-LABlab(16.44, 9.34, -23.28)
CIE-LCHlch(16.44, 25.09, 291.86°)
OKLaboklab(28.32% 0.0049 -0.0661)
OKLCHoklch(28.32% 0.066 274.3)
XYZxyz(2.5244, 2.1876, 6.7665)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20264A #4A4420
analogous
#203B4A #20264A #2F204A
triadic
#20264A #4A2026 #264A20
tetradic
#20264A #4A203B #4A4420 #204A2F
square
#20264A #4A203B #4A4420 #204A2F
split-complementary
#20264A #4A2F20 #3B4A20
monochromatic
#090B15 #0E101F #20264A #323C75 #45529F

Accessibility & contrast

On white

14.61
#20264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#20264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20264A
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20264A#FFFFFF#000000##FFFFFF
##20264A1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4B
Deuteranopia (green-blind)
#132749
Tritanopia (blue-blind)
#0E2E34
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #20264a;
/* rgb */ color: rgb(32, 38, 74);
/* oklch */ color: oklch(28.3% 0.066 274.3);
Tailwind
colors: {
  custom: {
    50: '#5f607d',
    500: '#20264a',
    950: '#000000',
  },
}
SCSS
$custom: #20264a;
$custom-light: #5f607d;
$custom-dark: #000000;
JSON
{
  "hex": "#20264a",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 231.429,
    "s": 39.623,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28317,
    "c": 0.06628,
    "h": 274.3
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#20264A
secondary
#7E7647
accent
#BE58D0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#050409
muted
#79797B

Preview Lab

Preview with #20264A

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

Preview Lab → · Contrast checker → · Palette generator →

#20264A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva