#2135A5#2135A5

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

Color values

HEX#2135A5
RGBrgb(33, 53, 165)
HSLhsl(231, 67%, 39%)
HSVhsv(231, 80%, 65%)
CMYKcmyk(80%, 67.9%, 0%, 35.3%)
CIE-LABlab(28.34, 34.12, -62.12)
CIE-LCHlch(28.34, 70.87, 298.78°)
OKLaboklab(39.59% -0.0053 -0.1799)
OKLCHoklch(39.59% 0.18 268.3)
XYZxyz(8.6895, 5.5852, 36.2101)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2135A5 #A59121
analogous
#2177A5 #2135A5 #4F21A5
triadic
#2135A5 #A52135 #35A521
tetradic
#2135A5 #A52177 #A59121 #21A54F
square
#2135A5 #A52177 #A59121 #21A54F
split-complementary
#2135A5 #A54F21 #77A521
monochromatic
#0D143F #172572 #2135A5 #2E47D5 #6174DF

Accessibility & contrast

On white

9.92
#2135A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2135A5
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2135A5#FFFFFF#000000##FFFFFF
##2135A51.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)
#0049A8
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2135a5;
/* rgb */ color: rgb(33, 53, 165);
/* oklch */ color: oklch(39.6% 0.180 268.3);
Tailwind
colors: {
  custom: {
    50: '#746cc1',
    500: '#2135a5',
    950: '#000000',
  },
}
SCSS
$custom: #2135a5;
$custom-light: #746cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2135a5",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 230.909,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39586,
    "c": 0.17995,
    "h": 268.3
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2135A5

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

Preview Lab → · Contrast checker → · Palette generator →

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