#2135A4#2135A4

#2135A4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.179 H 268.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2135A4
RGBrgb(33, 53, 164)
HSLhsl(231, 66%, 39%)
HSVhsv(231, 80%, 64%)
CMYKcmyk(79.9%, 67.7%, 0%, 35.7%)
CIE-LABlab(28.24, 33.75, -61.67)
CIE-LCHlch(28.24, 70.30, 298.69°)
OKLaboklab(39.49% -0.0052 -0.1786)
OKLCHoklch(39.49% 0.179 268.3)
XYZxyz(8.5988, 5.5489, 35.7326)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2135A4 #A49021
analogous
#2176A4 #2135A4 #4E21A4
triadic
#2135A4 #A42135 #35A421
tetradic
#2135A4 #A42176 #A49021 #21A44E
square
#2135A4 #A42176 #A49021 #21A44E
split-complementary
#2135A4 #A44E21 #76A421
monochromatic
#0C143E #172571 #2135A4 #2D47D5 #6074DF

Accessibility & contrast

On white

9.95
#2135A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2135A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2135A4
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2135A4#FFFFFF#000000##FFFFFF
##2135A41.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)
#0049A7
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2135a4;
/* rgb */ color: rgb(33, 53, 164);
/* oklch */ color: oklch(39.5% 0.179 268.3);
Tailwind
colors: {
  custom: {
    50: '#746cc0',
    500: '#2135a4',
    950: '#000000',
  },
}
SCSS
$custom: #2135a4;
$custom-light: #746cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2135a4",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 230.84,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.17864,
    "h": 268.3
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#2135A4
secondary
#C4B45D
accent
#CF3EE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2135A4

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

Preview Lab → · Contrast checker → · Palette generator →

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