#20246F#20246F

#20246F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.127 H 273.9°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#20246F
RGBrgb(32, 36, 111)
HSLhsl(237, 55%, 28%)
HSVhsv(237, 71%, 44%)
CMYKcmyk(71.2%, 67.6%, 0%, 56.5%)
CIE-LABlab(18.87, 24.98, -43.96)
CIE-LCHlch(18.87, 50.56, 299.61°)
OKLaboklab(31.08% 0.0087 -0.1269)
OKLCHoklch(31.08% 0.127 273.9)
XYZxyz(4.0948, 2.7161, 15.3443)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20246F #6F6B20
analogous
#204B6F #20246F #43206F
triadic
#20246F #6F2024 #246F20
tetradic
#20246F #6F204B #6F6B20 #206F43
square
#20246F #6F204B #6F6B20 #206F43
split-complementary
#20246F #6F4320 #4B6F20
monochromatic
#070818 #12153F #20246F #2E339F #4148C8

Accessibility & contrast

On white

13.61
#20246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20246F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20246F#FFFFFF#000000##FFFFFF
##20246F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20246f;
/* rgb */ color: rgb(32, 36, 111);
/* oklch */ color: oklch(31.1% 0.127 273.9);
Tailwind
colors: {
  custom: {
    50: '#675f99',
    500: '#20246f',
    950: '#000000',
  },
}
SCSS
$custom: #20246f;
$custom-light: #675f99;
$custom-dark: #000000;
JSON
{
  "hex": "#20246f",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 236.962,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.12717,
    "h": 273.9
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#20246F
secondary
#A39E48
accent
#D749DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #20246F

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

Preview Lab → · Contrast checker → · Palette generator →

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