#2039A0#2039A0

#2039A0 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.169 H 267.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2039A0
RGBrgb(32, 57, 160)
HSLhsl(228, 67%, 38%)
HSVhsv(228, 80%, 63%)
CMYKcmyk(80%, 64.4%, 0%, 37.3%)
CIE-LABlab(28.83, 29.52, -58.30)
CIE-LCHlch(28.83, 65.34, 296.85°)
OKLaboklab(39.79% -0.0081 -0.1687)
OKLCHoklch(39.79% 0.169 267.3)
XYZxyz(8.4017, 5.7704, 33.9219)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2039A0 #A08720
analogous
#2079A0 #2039A0 #4720A0
triadic
#2039A0 #A02039 #39A020
tetradic
#2039A0 #A02079 #A08720 #20A047
square
#2039A0 #A02079 #A08720 #20A047
split-complementary
#2039A0 #A04720 #79A020
monochromatic
#0C153A #16276D #2039A0 #2A4BD3 #5C75DE

Accessibility & contrast

On white

9.75
#2039A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2039A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2039A0
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2039A0#FFFFFF#000000##FFFFFF
##2039A01.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2039a0;
/* rgb */ color: rgb(32, 57, 160);
/* oklch */ color: oklch(39.8% 0.169 267.3);
Tailwind
colors: {
  custom: {
    50: '#726fbd',
    500: '#2039a0',
    950: '#000000',
  },
}
SCSS
$custom: #2039a0;
$custom-light: #726fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2039a0",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 160
  },
  "hsl": {
    "h": 228.281,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39787,
    "c": 0.16888,
    "h": 267.3
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#2039A0
secondary
#C3AE59
accent
#C83EEA
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2039A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2039A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva