#2034A6#2034A6

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

Color values

HEX#2034A6
RGBrgb(32, 52, 166)
HSLhsl(231, 68%, 39%)
HSVhsv(231, 81%, 65%)
CMYKcmyk(80.7%, 68.7%, 0%, 34.9%)
CIE-LABlab(28.15, 35.05, -63.03)
CIE-LCHlch(28.15, 72.12, 299.08°)
OKLaboklab(39.47% -0.0057 -0.1825)
OKLCHoklch(39.47% 0.183 268.2)
XYZxyz(8.7042, 5.5152, 36.6748)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2034A6 #A69220
analogous
#2077A6 #2034A6 #4F20A6
triadic
#2034A6 #A62034 #34A620
tetradic
#2034A6 #A62077 #A69220 #20A64F
square
#2034A6 #A62077 #A69220 #20A64F
split-complementary
#2034A6 #A64F20 #77A620
monochromatic
#0C143F #162473 #2034A6 #2D46D6 #6073E0

Accessibility & contrast

On white

9.98
#2034A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2034A6
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2034A6#FFFFFF#000000##FFFFFF
##2034A61.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2034a6;
/* rgb */ color: rgb(32, 52, 166);
/* oklch */ color: oklch(39.5% 0.183 268.2);
Tailwind
colors: {
  custom: {
    50: '#746bc2',
    500: '#2034a6',
    950: '#000000',
  },
}
SCSS
$custom: #2034a6;
$custom-light: #746bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2034a6",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 231.045,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39468,
    "c": 0.18264,
    "h": 268.2
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#2034A6
secondary
#C5B55D
accent
#D13DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2034A6

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

Preview Lab → · Contrast checker → · Palette generator →

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