#20239F#20239F

#20239F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.191 H 270.6°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#20239F
RGBrgb(32, 35, 159)
HSLhsl(239, 66%, 37%)
HSVhsv(239, 80%, 62%)
CMYKcmyk(79.9%, 78%, 0%, 37.6%)
CIE-LABlab(23.71, 42.84, -66.12)
CIE-LCHlch(23.71, 78.78, 302.94°)
OKLaboklab(36.06% 0.0021 -0.1915)
OKLCHoklch(36.06% 0.191 270.6)
XYZxyz(7.4526, 4.0115, 33.1757)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20239F #9F9C20
analogous
#20629F #20239F #5D209F
triadic
#20239F #9F2023 #239F20
tetradic
#20239F #9F2062 #9F9C20 #209F5D
square
#20239F #9F2062 #9F9C20 #209F5D
split-complementary
#20239F #9F5D20 #629F20
monochromatic
#0B0D39 #16186C #20239F #2A2ED2 #5B5EDE

Accessibility & contrast

On white

11.65
#20239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#20239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20239F
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20239F#FFFFFF#000000##FFFFFF
##20239F1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20239f;
/* rgb */ color: rgb(32, 35, 159);
/* oklch */ color: oklch(36.1% 0.191 270.6);
Tailwind
colors: {
  custom: {
    50: '#7460bd',
    500: '#20239f',
    950: '#000000',
  },
}
SCSS
$custom: #20239f;
$custom-light: #7460bd;
$custom-dark: #000000;
JSON
{
  "hex": "#20239f",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 238.583,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36061,
    "c": 0.19148,
    "h": 270.6
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#20239F
secondary
#C2C059
accent
#E53EE9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #20239F

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

Preview Lab → · Contrast checker → · Palette generator →

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