#215AAB#215AAB

#215AAB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.143 H 258.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#215AAB
RGBrgb(33, 90, 171)
HSLhsl(215, 68%, 40%)
HSVhsv(215, 81%, 67%)
CMYKcmyk(80.7%, 47.4%, 0%, 32.9%)
CIE-LABlab(38.85, 11.80, -48.60)
CIE-LCHlch(38.85, 50.01, 283.64°)
OKLaboklab(47.64% -0.0297 -0.1396)
OKLCHoklch(47.64% 0.143 258)
XYZxyz(11.6313, 10.5745, 39.9482)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215AAB #AB7221
analogous
#219FAB #215AAB #2D21AB
triadic
#215AAB #AB215A #5AAB21
tetradic
#215AAB #AB219F #AB7221 #21AB2D
square
#215AAB #AB219F #AB7221 #21AB2D
split-complementary
#215AAB #AB2D21 #9FAB21
monochromatic
#0D2444 #173F78 #215AAB #3276D7 #6598E1

Accessibility & contrast

On white

6.74
#215AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#215AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #215AAB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215AAB#FFFFFF#000000##FFFFFF
##215AAB1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AE
Deuteranopia (green-blind)
#0256A9
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #215aab;
/* rgb */ color: rgb(33, 90, 171);
/* oklch */ color: oklch(47.6% 0.143 258.0);
Tailwind
colors: {
  custom: {
    50: '#7388c4',
    500: '#215aab',
    950: '#000000',
  },
}
SCSS
$custom: #215aab;
$custom-light: #7388c4;
$custom-dark: #000000;
JSON
{
  "hex": "#215aab",
  "rgb": {
    "r": 33,
    "g": 90,
    "b": 171
  },
  "hsl": {
    "h": 215.217,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.14273,
    "h": 258
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#215AAB
secondary
#C79D61
accent
#A33DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #215AAB

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

Preview Lab → · Contrast checker → · Palette generator →

#215AAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva