#20264C#20264C

#20264C is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.070 H 274.4°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#20264C
RGBrgb(32, 38, 76)
HSLhsl(232, 41%, 21%)
HSVhsv(232, 58%, 30%)
CMYKcmyk(57.9%, 50%, 0%, 70.2%)
CIE-LABlab(16.58, 10.10, -24.43)
CIE-LCHlch(16.58, 26.44, 292.46°)
OKLaboklab(28.46% 0.0053 -0.0695)
OKLCHoklch(28.46% 0.07 274.4)
XYZxyz(2.5929, 2.2149, 7.1270)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20264C #4C4620
analogous
#203C4C #20264C #30204C
triadic
#20264C #4C2026 #264C20
tetradic
#20264C #4C203C #4C4620 #204C30
square
#20264C #4C203C #4C4620 #204C30
split-complementary
#20264C #4C3020 #3C4C20
monochromatic
#090B16 #0E1021 #20264C #323C77 #4451A2

Accessibility & contrast

On white

14.55
#20264C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20264C
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20264C#FFFFFF#000000##FFFFFF
##20264C1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4D
Deuteranopia (green-blind)
#11274B
Tritanopia (blue-blind)
#0C2E35
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #20264c;
/* rgb */ color: rgb(32, 38, 76);
/* oklch */ color: oklch(28.5% 0.070 274.4);
Tailwind
colors: {
  custom: {
    50: '#5f607e',
    500: '#20264c',
    950: '#000000',
  },
}
SCSS
$custom: #20264c;
$custom-light: #5f607e;
$custom-dark: #000000;
JSON
{
  "hex": "#20264c",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 231.818,
    "s": 40.741,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28464,
    "c": 0.06967,
    "h": 274.4
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#20264C
secondary
#807947
accent
#C057D1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#05040A
muted
#79797C

Preview Lab

Preview with #20264C

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

Preview Lab → · Contrast checker → · Palette generator →

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