#2134A4#2134A4

#2134A4 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.180 H 268.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2134A4
RGBrgb(33, 52, 164)
HSLhsl(231, 66%, 39%)
HSVhsv(231, 80%, 64%)
CMYKcmyk(79.9%, 68.3%, 0%, 35.7%)
CIE-LABlab(28.00, 34.40, -62.07)
CIE-LCHlch(28.00, 70.96, 298.99°)
OKLaboklab(39.31% -0.0047 -0.1797)
OKLCHoklch(39.31% 0.18 268.5)
XYZxyz(8.5537, 5.4587, 35.7176)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2134A4 #A49121
analogous
#2175A4 #2134A4 #4F21A4
triadic
#2134A4 #A42134 #34A421
tetradic
#2134A4 #A42175 #A49121 #21A44F
square
#2134A4 #A42175 #A49121 #21A44F
split-complementary
#2134A4 #A44F21 #75A421
monochromatic
#0C143E #172471 #2134A4 #2D46D5 #6073DF

Accessibility & contrast

On white

10.04
#2134A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2134A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2134A4
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2134A4#FFFFFF#000000##FFFFFF
##2134A41.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2134a4;
/* rgb */ color: rgb(33, 52, 164);
/* oklch */ color: oklch(39.3% 0.180 268.5);
Tailwind
colors: {
  custom: {
    50: '#746bc0',
    500: '#2134a4',
    950: '#000000',
  },
}
SCSS
$custom: #2134a4;
$custom-light: #746bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2134a4",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 231.298,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3931,
    "c": 0.17979,
    "h": 268.5
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#2134A4
secondary
#C4B55D
accent
#D13EE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2134A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2134A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva