#2135A6#2135A6

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

Color values

HEX#2135A6
RGBrgb(33, 53, 166)
HSLhsl(231, 67%, 39%)
HSVhsv(231, 80%, 65%)
CMYKcmyk(80.1%, 68.1%, 0%, 34.9%)
CIE-LABlab(28.44, 34.49, -62.56)
CIE-LCHlch(28.44, 71.44, 298.87°)
OKLaboklab(39.68% -0.0053 -0.1812)
OKLCHoklch(39.68% 0.181 268.3)
XYZxyz(8.7809, 5.6217, 36.6913)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2135A6 #A69221
analogous
#2178A6 #2135A6 #4F21A6
triadic
#2135A6 #A62135 #35A621
tetradic
#2135A6 #A62178 #A69221 #21A64F
square
#2135A6 #A62178 #A69221 #21A64F
split-complementary
#2135A6 #A64F21 #78A621
monochromatic
#0D1440 #172573 #2135A6 #2F48D6 #6275E0

Accessibility & contrast

On white

9.88
#2135A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2135A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2135A6
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2135A6#FFFFFF#000000##FFFFFF
##2135A61.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2135a6;
/* rgb */ color: rgb(33, 53, 166);
/* oklch */ color: oklch(39.7% 0.181 268.3);
Tailwind
colors: {
  custom: {
    50: '#746cc1',
    500: '#2135a6',
    950: '#000000',
  },
}
SCSS
$custom: #2135a6;
$custom-light: #746cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2135a6",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 230.977,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39685,
    "c": 0.18124,
    "h": 268.3
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#2135A6
secondary
#C5B55E
accent
#D03EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2135A6

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

Preview Lab → · Contrast checker → · Palette generator →

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