#2115A0#2115A0

#2115A0 is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.6% C 0.203 H 271.9°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2115A0
RGBrgb(33, 21, 160)
HSLhsl(245, 77%, 35%)
HSVhsv(245, 87%, 63%)
CMYKcmyk(79.4%, 86.9%, 0%, 37.3%)
CIE-LABlab(21.57, 50.00, -70.28)
CIE-LCHlch(21.57, 86.25, 305.43°)
OKLaboklab(34.62% 0.0067 -0.2032)
OKLCHoklch(34.62% 0.203 271.9)
XYZxyz(7.2384, 3.3969, 33.5251)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2115A0 #94A015
analogous
#154EA0 #2115A0 #6615A0
triadic
#2115A0 #A02115 #15A021
tetradic
#2115A0 #A0154E #94A015 #15A066
square
#2115A0 #A0154E #94A015 #15A066
split-complementary
#2115A0 #A06615 #4EA015
monochromatic
#0B0734 #160E6A #2115A0 #2C1CD6 #5648E7

Accessibility & contrast

On white

12.50
#2115A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2115A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2115A0
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2115A0#FFFFFF#000000##FFFFFF
##2115A01.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA4
Deuteranopia (green-blind)
#002D9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2115a0;
/* rgb */ color: rgb(33, 21, 160);
/* oklch */ color: oklch(34.6% 0.203 271.9);
Tailwind
colors: {
  custom: {
    50: '#7559be',
    500: '#2115a0',
    950: '#000000',
  },
}
SCSS
$custom: #2115a0;
$custom-light: #7559be;
$custom-dark: #000000;
JSON
{
  "hex": "#2115a0",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 245.18,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34624,
    "c": 0.20336,
    "h": 271.9
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#2115A0
secondary
#BDC849
accent
#F334E3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2115A0

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

Preview Lab → · Contrast checker → · Palette generator →

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