#2157AD#2157AD

#2157AD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.149 H 259.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2157AD
RGBrgb(33, 87, 173)
HSLhsl(217, 68%, 40%)
HSVhsv(217, 81%, 68%)
CMYKcmyk(80.9%, 49.7%, 0%, 32.2%)
CIE-LABlab(38.12, 14.56, -50.97)
CIE-LCHlch(38.12, 53.01, 285.95°)
OKLaboklab(47.12% -0.027 -0.1466)
OKLCHoklch(47.12% 0.149 259.6)
XYZxyz(11.5755, 10.1555, 40.8772)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2157AD #AD7721
analogous
#219DAD #2157AD #3121AD
triadic
#2157AD #AD2157 #57AD21
tetradic
#2157AD #AD219D #AD7721 #21AD31
square
#2157AD #AD219D #AD7721 #21AD31
split-complementary
#2157AD #AD3121 #9DAD21
monochromatic
#0D2346 #173D7A #2157AD #3373D8 #6696E2

Accessibility & contrast

On white

6.93
#2157AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2157AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2157AD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2157AD#FFFFFF#000000##FFFFFF
##2157AD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360B0
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2157ad;
/* rgb */ color: rgb(33, 87, 173);
/* oklch */ color: oklch(47.1% 0.149 259.6);
Tailwind
colors: {
  custom: {
    50: '#7385c6',
    500: '#2157ad',
    950: '#000000',
  },
}
SCSS
$custom: #2157ad;
$custom-light: #7385c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2157ad",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 216.857,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.1491,
    "h": 259.6
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#2157AD
secondary
#C7A062
accent
#A83DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2157AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2157AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva