#2034A5#2034A5

#2034A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.181 H 268.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2034A5
RGBrgb(32, 52, 165)
HSLhsl(231, 68%, 39%)
HSVhsv(231, 81%, 65%)
CMYKcmyk(80.6%, 68.5%, 0%, 35.3%)
CIE-LABlab(28.06, 34.68, -62.58)
CIE-LCHlch(28.06, 71.55, 298.99°)
OKLaboklab(39.37% -0.0057 -0.1812)
OKLCHoklch(39.37% 0.181 268.2)
XYZxyz(8.6128, 5.4787, 36.1936)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2034A5 #A59120
analogous
#2076A5 #2034A5 #4E20A5
triadic
#2034A5 #A52034 #34A520
tetradic
#2034A5 #A52076 #A59120 #20A54E
square
#2034A5 #A52076 #A59120 #20A54E
split-complementary
#2034A5 #A54E20 #76A520
monochromatic
#0C143E #162472 #2034A5 #2C46D6 #5F73E0

Accessibility & contrast

On white

10.02
#2034A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2034A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2034A5
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2034A5#FFFFFF#000000##FFFFFF
##2034A51.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2034a5;
/* rgb */ color: rgb(32, 52, 165);
/* oklch */ color: oklch(39.4% 0.181 268.2);
Tailwind
colors: {
  custom: {
    50: '#746bc1',
    500: '#2034a5',
    950: '#000000',
  },
}
SCSS
$custom: #2034a5;
$custom-light: #746bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2034a5",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 230.977,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39367,
    "c": 0.18134,
    "h": 268.2
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#2034A5
secondary
#C5B55C
accent
#D03DEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2034A5

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

Preview Lab → · Contrast checker → · Palette generator →

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