#20236A#20236A

#20236A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.121 H 274.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#20236A
RGBrgb(32, 35, 106)
HSLhsl(238, 54%, 27%)
HSVhsv(238, 70%, 42%)
CMYKcmyk(69.8%, 67%, 0%, 58.4%)
CIE-LABlab(18.14, 23.77, -41.90)
CIE-LCHlch(18.14, 48.18, 299.57°)
OKLaboklab(30.4% 0.0099 -0.1208)
OKLCHoklch(30.4% 0.121 274.7)
XYZxyz(3.7974, 2.5494, 13.9248)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20236A #6A6720
analogous
#20486A #20236A #42206A
triadic
#20236A #6A2023 #236A20
tetradic
#20236A #6A2048 #6A6720 #206A42
square
#20236A #6A2048 #6A6720 #206A42
split-complementary
#20236A #6A4220 #486A20
monochromatic
#070818 #12133B #20236A #2E3399 #3F45C5

Accessibility & contrast

On white

13.91
#20236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#20236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20236A
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20236A#FFFFFF#000000##FFFFFF
##20236A1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #20236a;
/* rgb */ color: rgb(32, 35, 106);
/* oklch */ color: oklch(30.4% 0.121 274.7);
Tailwind
colors: {
  custom: {
    50: '#665e95',
    500: '#20236a',
    950: '#000000',
  },
}
SCSS
$custom: #20236a;
$custom-light: #665e95;
$custom-dark: #000000;
JSON
{
  "hex": "#20236a",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 237.568,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30398,
    "c": 0.12124,
    "h": 274.7
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#20236A
secondary
#9E9B48
accent
#D74BDD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #20236A

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

Preview Lab → · Contrast checker → · Palette generator →

#20236A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva