#2039A5#2039A5

#2039A5 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.176 H 267.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2039A5
RGBrgb(32, 57, 165)
HSLhsl(229, 68%, 39%)
HSVhsv(229, 81%, 65%)
CMYKcmyk(80.6%, 65.5%, 0%, 35.3%)
CIE-LABlab(29.28, 31.42, -60.57)
CIE-LCHlch(29.28, 68.23, 297.42°)
OKLaboklab(40.26% -0.0082 -0.1753)
OKLCHoklch(40.26% 0.176 267.3)
XYZxyz(8.8480, 5.9489, 36.2719)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2039A5 #A58C20
analogous
#207BA5 #2039A5 #4920A5
triadic
#2039A5 #A52039 #39A520
tetradic
#2039A5 #A5207B #A58C20 #20A549
square
#2039A5 #A5207B #A58C20 #20A549
split-complementary
#2039A5 #A54920 #7BA520
monochromatic
#0C163E #162772 #2039A5 #2C4CD6 #5F78E0

Accessibility & contrast

On white

9.59
#2039A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2039A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2039A5
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2039A5#FFFFFF#000000##FFFFFF
##2039A51.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2039a5;
/* rgb */ color: rgb(32, 57, 165);
/* oklch */ color: oklch(40.3% 0.176 267.3);
Tailwind
colors: {
  custom: {
    50: '#736fc1',
    500: '#2039a5',
    950: '#000000',
  },
}
SCSS
$custom: #2039a5;
$custom-light: #736fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2039a5",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 228.722,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40264,
    "c": 0.17553,
    "h": 267.3
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#2039A5
secondary
#C5B15C
accent
#CA3DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2039A5

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

Preview Lab → · Contrast checker → · Palette generator →

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