#2135A8#2135A8

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

Color values

HEX#2135A8
RGBrgb(33, 53, 168)
HSLhsl(231, 67%, 39%)
HSVhsv(231, 80%, 66%)
CMYKcmyk(80.4%, 68.5%, 0%, 34.1%)
CIE-LABlab(28.63, 35.23, -63.45)
CIE-LCHlch(28.63, 72.57, 299.04°)
OKLaboklab(39.89% -0.0055 -0.1837)
OKLCHoklch(39.89% 0.184 268.3)
XYZxyz(8.9657, 5.6957, 37.6650)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2135A8 #A89421
analogous
#2179A8 #2135A8 #5121A8
triadic
#2135A8 #A82135 #35A821
tetradic
#2135A8 #A82179 #A89421 #21A851
square
#2135A8 #A82179 #A89421 #21A851
split-complementary
#2135A8 #A85121 #79A821
monochromatic
#0D1542 #172575 #2135A8 #3049D6 #6376E0

Accessibility & contrast

On white

9.82
#2135A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2135A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2135A8
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2135A8#FFFFFF#000000##FFFFFF
##2135A81.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2135a8;
/* rgb */ color: rgb(33, 53, 168);
/* oklch */ color: oklch(39.9% 0.184 268.3);
Tailwind
colors: {
  custom: {
    50: '#756cc3',
    500: '#2135a8',
    950: '#000000',
  },
}
SCSS
$custom: #2135a8;
$custom-light: #756cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2135a8",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 231.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39885,
    "c": 0.18383,
    "h": 268.3
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2135A8

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

Preview Lab → · Contrast checker → · Palette generator →

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