#2135A7#2135A7

#2135A7 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.183 H 268.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2135A7
RGBrgb(33, 53, 167)
HSLhsl(231, 67%, 39%)
HSVhsv(231, 80%, 65%)
CMYKcmyk(80.2%, 68.3%, 0%, 34.5%)
CIE-LABlab(28.53, 34.86, -63.00)
CIE-LCHlch(28.53, 72.01, 298.96°)
OKLaboklab(39.78% -0.0054 -0.1825)
OKLCHoklch(39.78% 0.183 268.3)
XYZxyz(8.8729, 5.6585, 37.1763)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2135A7 #A79321
analogous
#2178A7 #2135A7 #5021A7
triadic
#2135A7 #A72135 #35A721
tetradic
#2135A7 #A72178 #A79321 #21A750
square
#2135A7 #A72178 #A79321 #21A750
split-complementary
#2135A7 #A75021 #78A721
monochromatic
#0D1541 #172574 #2135A7 #2F48D6 #6275E0

Accessibility & contrast

On white

9.85
#2135A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2135A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2135A7
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2135A7#FFFFFF#000000##FFFFFF
##2135A71.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2135a7;
/* rgb */ color: rgb(33, 53, 167);
/* oklch */ color: oklch(39.8% 0.183 268.3);
Tailwind
colors: {
  custom: {
    50: '#746cc2',
    500: '#2135a7',
    950: '#000000',
  },
}
SCSS
$custom: #2135a7;
$custom-light: #746cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2135a7",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 231.045,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39785,
    "c": 0.18254,
    "h": 268.3
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#2135A7
secondary
#C5B65F
accent
#D03EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2135A7

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

Preview Lab → · Contrast checker → · Palette generator →

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