#2135A0#2135A0

#2135A0 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.173 H 268.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2135A0
RGBrgb(33, 53, 160)
HSLhsl(231, 66%, 38%)
HSVhsv(231, 79%, 63%)
CMYKcmyk(79.4%, 66.9%, 0%, 37.3%)
CIE-LABlab(27.86, 32.26, -59.87)
CIE-LCHlch(27.86, 68.01, 298.31°)
OKLaboklab(39.09% -0.005 -0.1733)
OKLCHoklch(39.09% 0.173 268.4)
XYZxyz(8.2433, 5.4067, 33.8600)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2135A0 #A08C21
analogous
#2174A0 #2135A0 #4C21A0
triadic
#2135A0 #A02135 #35A021
tetradic
#2135A0 #A02174 #A08C21 #21A04C
square
#2135A0 #A02174 #A08C21 #21A04C
split-complementary
#2135A0 #A04C21 #74A021
monochromatic
#0C133B #17246D #2135A0 #2B46D3 #5E72DE

Accessibility & contrast

On white

10.09
#2135A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2135A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2135A0
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2135A0#FFFFFF#000000##FFFFFF
##2135A01.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2135a0;
/* rgb */ color: rgb(33, 53, 160);
/* oklch */ color: oklch(39.1% 0.173 268.4);
Tailwind
colors: {
  custom: {
    50: '#726cbd',
    500: '#2135a0',
    950: '#000000',
  },
}
SCSS
$custom: #2135a0;
$custom-light: #726cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2135a0",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 160
  },
  "hsl": {
    "h": 230.551,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39092,
    "c": 0.17339,
    "h": 268.4
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#2135A0
secondary
#C2B25B
accent
#CE3FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2135A0

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

Preview Lab → · Contrast checker → · Palette generator →

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