#2039AF#2039AF

#2039AF is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.189 H 267.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2039AF
RGBrgb(32, 57, 175)
HSLhsl(230, 69%, 41%)
HSVhsv(230, 82%, 69%)
CMYKcmyk(81.7%, 67.4%, 0%, 31.4%)
CIE-LABlab(30.22, 35.17, -65.03)
CIE-LCHlch(30.22, 73.93, 298.41°)
OKLaboklab(41.24% -0.0087 -0.1884)
OKLCHoklch(41.24% 0.189 267.3)
XYZxyz(9.7940, 6.3273, 41.2542)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2039AF #AF9620
analogous
#2081AF #2039AF #4E20AF
triadic
#2039AF #AF2039 #39AF20
tetradic
#2039AF #AF2081 #AF9620 #20AF4E
square
#2039AF #AF2081 #AF9620 #20AF4E
split-complementary
#2039AF #AF4E20 #81AF20
monochromatic
#0D1748 #17287B #2039AF #3350DA #667CE3

Accessibility & contrast

On white

9.27
#2039AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2039AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2039AF
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2039AF#FFFFFF#000000##FFFFFF
##2039AF1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2039af;
/* rgb */ color: rgb(32, 57, 175);
/* oklch */ color: oklch(41.2% 0.189 267.3);
Tailwind
colors: {
  custom: {
    50: '#766fc8',
    500: '#2039af',
    950: '#000000',
  },
}
SCSS
$custom: #2039af;
$custom-light: #766fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2039af",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 229.51,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.18856,
    "h": 267.3
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#2039AF
secondary
#C8B762
accent
#CD3CEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2039AF

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

Preview Lab → · Contrast checker → · Palette generator →

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