#2135A9#2135A9

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

Color values

HEX#2135A9
RGBrgb(33, 53, 169)
HSLhsl(231, 67%, 40%)
HSVhsv(231, 80%, 66%)
CMYKcmyk(80.5%, 68.6%, 0%, 33.7%)
CIE-LABlab(28.73, 35.60, -63.89)
CIE-LCHlch(28.73, 73.14, 299.13°)
OKLaboklab(39.99% -0.0056 -0.185)
OKLCHoklch(39.99% 0.185 268.3)
XYZxyz(9.0593, 5.7331, 38.1576)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2135A9 #A99521
analogous
#2179A9 #2135A9 #5121A9
triadic
#2135A9 #A92135 #35A921
tetradic
#2135A9 #A92179 #A99521 #21A951
square
#2135A9 #A92179 #A99521 #21A951
split-complementary
#2135A9 #A95121 #79A921
monochromatic
#0D1543 #172576 #2135A9 #3149D7 #6476E1

Accessibility & contrast

On white

9.78
#2135A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2135A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2135A9
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2135A9#FFFFFF#000000##FFFFFF
##2135A91.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2135a9;
/* rgb */ color: rgb(33, 53, 169);
/* oklch */ color: oklch(40.0% 0.185 268.3);
Tailwind
colors: {
  custom: {
    50: '#756cc4',
    500: '#2135a9',
    950: '#000000',
  },
}
SCSS
$custom: #2135a9;
$custom-light: #756cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2135a9",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 231.176,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.18512,
    "h": 268.3
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2135A9

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

Preview Lab → · Contrast checker → · Palette generator →

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