#20249C#20249C

#20249C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.187 H 270.7°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#20249C
RGBrgb(32, 36, 156)
HSLhsl(238, 66%, 37%)
HSVhsv(238, 79%, 61%)
CMYKcmyk(79.5%, 76.9%, 0%, 38.8%)
CIE-LABlab(23.57, 41.26, -64.52)
CIE-LCHlch(23.57, 76.59, 302.60°)
OKLaboklab(35.86% 0.0023 -0.1868)
OKLCHoklch(35.86% 0.187 270.7)
XYZxyz(7.2253, 3.9683, 31.8312)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20249C #9C9820
analogous
#20629C #20249C #5A209C
triadic
#20249C #9C2024 #249C20
tetradic
#20249C #9C2062 #9C9820 #209C5A
square
#20249C #9C2062 #9C9820 #209C5A
split-complementary
#20249C #9C5A20 #629C20
monochromatic
#0B0D36 #161869 #20249C #2A30CF #595EDD

Accessibility & contrast

On white

11.71
#20249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#20249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20249C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20249C#FFFFFF#000000##FFFFFF
##20249C1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20249c;
/* rgb */ color: rgb(32, 36, 156);
/* oklch */ color: oklch(35.9% 0.187 270.7);
Tailwind
colors: {
  custom: {
    50: '#7360ba',
    500: '#20249c',
    950: '#000000',
  },
}
SCSS
$custom: #20249c;
$custom-light: #7360ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20249c",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 238.065,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3586,
    "c": 0.18685,
    "h": 270.7
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#20249C
secondary
#C1BE57
accent
#E33FE9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #20249C

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

Preview Lab → · Contrast checker → · Palette generator →

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