#2034A8#2034A8

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

Color values

HEX#2034A8
RGBrgb(32, 52, 168)
HSLhsl(231, 68%, 39%)
HSVhsv(231, 81%, 66%)
CMYKcmyk(81%, 69%, 0%, 34.1%)
CIE-LABlab(28.35, 35.79, -63.91)
CIE-LCHlch(28.35, 73.25, 299.25°)
OKLaboklab(39.67% -0.0059 -0.1851)
OKLCHoklch(39.67% 0.185 268.2)
XYZxyz(8.8891, 5.5892, 37.6485)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2034A8 #A89420
analogous
#2078A8 #2034A8 #5020A8
triadic
#2034A8 #A82034 #34A820
tetradic
#2034A8 #A82078 #A89420 #20A850
square
#2034A8 #A82078 #A89420 #20A850
split-complementary
#2034A8 #A85020 #78A820
monochromatic
#0C1441 #162475 #2034A8 #2E47D7 #6174E1

Accessibility & contrast

On white

9.92
#2034A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2034A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2034A8
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2034A8#FFFFFF#000000##FFFFFF
##2034A81.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2034a8;
/* rgb */ color: rgb(32, 52, 168);
/* oklch */ color: oklch(39.7% 0.185 268.2);
Tailwind
colors: {
  custom: {
    50: '#746bc3',
    500: '#2034a8',
    950: '#000000',
  },
}
SCSS
$custom: #2034a8;
$custom-light: #746bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2034a8",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 231.176,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3967,
    "c": 0.18521,
    "h": 268.2
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2034A8

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

Preview Lab → · Contrast checker → · Palette generator →

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