#20295C#20295C

#20295C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.091 H 272.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#20295C
RGBrgb(32, 41, 92)
HSLhsl(231, 48%, 24%)
HSVhsv(231, 65%, 36%)
CMYKcmyk(65.2%, 55.4%, 0%, 63.9%)
CIE-LABlab(18.65, 14.08, -31.86)
CIE-LCHlch(18.65, 34.84, 293.84°)
OKLaboklab(30.41% 0.0037 -0.0913)
OKLCHoklch(30.41% 0.091 272.3)
XYZxyz(3.3197, 2.6654, 10.4627)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20295C #5C5320
analogous
#20475C #20295C #35205C
triadic
#20295C #5C2029 #295C20
tetradic
#20295C #5C2047 #5C5320 #205C35
square
#20295C #5C2047 #5C5320 #205C35
split-complementary
#20295C #5C3520 #475C20
monochromatic
#080A17 #10152F #20295C #303D89 #4051B7

Accessibility & contrast

On white

13.70
#20295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#20295C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20295C
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20295C#FFFFFF#000000##FFFFFF
##20295C1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305E
Deuteranopia (green-blind)
#002B5B
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #20295c;
/* rgb */ color: rgb(32, 41, 92);
/* oklch */ color: oklch(30.4% 0.091 272.3);
Tailwind
colors: {
  custom: {
    50: '#62628a',
    500: '#20295c',
    950: '#000000',
  },
}
SCSS
$custom: #20295c;
$custom-light: #62628a;
$custom-dark: #000000;
JSON
{
  "hex": "#20295c",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 231,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30407,
    "c": 0.09134,
    "h": 272.3
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#20295C
secondary
#908547
accent
#C450D8
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #20295C

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

Preview Lab → · Contrast checker → · Palette generator →

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