#20246E#20246E

#20246E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.126 H 274.0°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#20246E
RGBrgb(32, 36, 110)
HSLhsl(237, 55%, 28%)
HSVhsv(237, 71%, 43%)
CMYKcmyk(70.9%, 67.3%, 0%, 56.9%)
CIE-LABlab(18.78, 24.60, -43.47)
CIE-LCHlch(18.78, 49.95, 299.51°)
OKLaboklab(30.98% 0.0087 -0.1254)
OKLCHoklch(30.98% 0.126 274)
XYZxyz(4.0401, 2.6942, 15.0560)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20246E #6E6A20
analogous
#204B6E #20246E #43206E
triadic
#20246E #6E2024 #246E20
tetradic
#20246E #6E204B #6E6A20 #206E43
square
#20246E #6E204B #6E6A20 #206E43
split-complementary
#20246E #6E4320 #4B6E20
monochromatic
#070818 #12143F #20246E #2E349D #4148C8

Accessibility & contrast

On white

13.65
#20246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#20246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20246E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20246E#FFFFFF#000000##FFFFFF
##20246E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20246e;
/* rgb */ color: rgb(32, 36, 110);
/* oklch */ color: oklch(31.0% 0.126 274.0);
Tailwind
colors: {
  custom: {
    50: '#675f98',
    500: '#20246e',
    950: '#000000',
  },
}
SCSS
$custom: #20246e;
$custom-light: #675f98;
$custom-dark: #000000;
JSON
{
  "hex": "#20246e",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 236.923,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30978,
    "c": 0.12572,
    "h": 274
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#20246E
secondary
#A29D48
accent
#D74ADE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #20246E

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

Preview Lab → · Contrast checker → · Palette generator →

#20246E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva