#2034A7#2034A7

#2034A7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.184 H 268.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2034A7
RGBrgb(32, 52, 167)
HSLhsl(231, 68%, 39%)
HSVhsv(231, 81%, 65%)
CMYKcmyk(80.8%, 68.9%, 0%, 34.5%)
CIE-LABlab(28.25, 35.42, -63.47)
CIE-LCHlch(28.25, 72.68, 299.16°)
OKLaboklab(39.57% -0.0058 -0.1838)
OKLCHoklch(39.57% 0.184 268.2)
XYZxyz(8.7963, 5.5521, 37.1598)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2034A7 #A79320
analogous
#2078A7 #2034A7 #5020A7
triadic
#2034A7 #A72034 #34A720
tetradic
#2034A7 #A72078 #A79320 #20A750
square
#2034A7 #A72078 #A79320 #20A750
split-complementary
#2034A7 #A75020 #78A720
monochromatic
#0C1440 #162474 #2034A7 #2D46D7 #6174E1

Accessibility & contrast

On white

9.95
#2034A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2034A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2034A7
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2034A7#FFFFFF#000000##FFFFFF
##2034A71.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2034a7;
/* rgb */ color: rgb(32, 52, 167);
/* oklch */ color: oklch(39.6% 0.184 268.2);
Tailwind
colors: {
  custom: {
    50: '#746bc2',
    500: '#2034a7',
    950: '#000000',
  },
}
SCSS
$custom: #2034a7;
$custom-light: #746bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2034a7",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 231.111,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39569,
    "c": 0.18393,
    "h": 268.2
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#2034A7
secondary
#C5B65D
accent
#D13DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2034A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2034A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva