#2115A1#2115A1

#2115A1 is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.7% C 0.204 H 271.8°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#2115A1
RGBrgb(33, 21, 161)
HSLhsl(245, 77%, 36%)
HSVhsv(245, 87%, 63%)
CMYKcmyk(79.5%, 87%, 0%, 36.9%)
CIE-LABlab(21.70, 50.30, -70.67)
CIE-LCHlch(21.70, 86.75, 305.44°)
OKLaboklab(34.75% 0.0064 -0.2044)
OKLCHoklch(34.75% 0.205 271.8)
XYZxyz(7.3262, 3.4321, 33.9876)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2115A1 #95A115
analogous
#154FA1 #2115A1 #6715A1
triadic
#2115A1 #A12115 #15A121
tetradic
#2115A1 #A1154F #95A115 #15A167
square
#2115A1 #A1154F #95A115 #15A167
split-complementary
#2115A1 #A16715 #4FA115
monochromatic
#0B0735 #160E6B #2115A1 #2C1CD7 #5749E7

Accessibility & contrast

On white

12.45
#2115A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2115A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2115A1
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2115A1#FFFFFF#000000##FFFFFF
##2115A11.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA5
Deuteranopia (green-blind)
#002D9F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2115a1;
/* rgb */ color: rgb(33, 21, 161);
/* oklch */ color: oklch(34.7% 0.204 271.8);
Tailwind
colors: {
  custom: {
    50: '#7659be',
    500: '#2115a1',
    950: '#000000',
  },
}
SCSS
$custom: #2115a1;
$custom-light: #7659be;
$custom-dark: #000000;
JSON
{
  "hex": "#2115a1",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 245.143,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34749,
    "c": 0.2045,
    "h": 271.8
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#2115A1
secondary
#BEC849
accent
#F334E3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2115A1

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

Preview Lab → · Contrast checker → · Palette generator →

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