#20236F#20236F

#20236F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.128 H 274.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#20236F
RGBrgb(32, 35, 111)
HSLhsl(238, 55%, 28%)
HSVhsv(238, 71%, 44%)
CMYKcmyk(71.2%, 68.5%, 0%, 56.5%)
CIE-LABlab(18.61, 25.66, -44.38)
CIE-LCHlch(18.61, 51.27, 300.04°)
OKLaboklab(30.89% 0.0095 -0.1281)
OKLCHoklch(30.89% 0.128 274.2)
XYZxyz(4.0650, 2.6565, 15.3344)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20236F #6F6C20
analogous
#204A6F #20236F #45206F
triadic
#20236F #6F2023 #236F20
tetradic
#20236F #6F204A #6F6C20 #206F45
square
#20236F #6F204A #6F6C20 #206F45
split-complementary
#20236F #6F4520 #4A6F20
monochromatic
#070718 #12143F #20236F #2E329F #4146C8

Accessibility & contrast

On white

13.71
#20236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#20236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20236F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20236F#FFFFFF#000000##FFFFFF
##20236F1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20236f;
/* rgb */ color: rgb(32, 35, 111);
/* oklch */ color: oklch(30.9% 0.128 274.2);
Tailwind
colors: {
  custom: {
    50: '#675e99',
    500: '#20236f',
    950: '#000000',
  },
}
SCSS
$custom: #20236f;
$custom-light: #675e99;
$custom-dark: #000000;
JSON
{
  "hex": "#20236f",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 237.722,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30888,
    "c": 0.12846,
    "h": 274.2
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#20236F
secondary
#A39F48
accent
#D949DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #20236F

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

Preview Lab → · Contrast checker → · Palette generator →

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