#2157A6#2157A6

#2157A6 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.140 H 258.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2157A6
RGBrgb(33, 87, 166)
HSLhsl(216, 67%, 39%)
HSVhsv(216, 80%, 65%)
CMYKcmyk(80.1%, 47.6%, 0%, 34.9%)
CIE-LABlab(37.65, 11.80, -47.58)
CIE-LCHlch(37.65, 49.02, 283.93°)
OKLaboklab(46.61% -0.0281 -0.1366)
OKLCHoklch(46.61% 0.14 258.4)
XYZxyz(10.9158, 9.8916, 37.4030)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2157A6 #A67021
analogous
#219AA6 #2157A6 #2E21A6
triadic
#2157A6 #A62157 #57A621
tetradic
#2157A6 #A6219A #A67021 #21A62E
square
#2157A6 #A6219A #A67021 #21A62E
split-complementary
#2157A6 #A62E21 #9AA621
monochromatic
#0D2140 #173C73 #2157A6 #2F72D6 #6295E0

Accessibility & contrast

On white

7.05
#2157A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2157A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2157A6
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2157A6#FFFFFF#000000##FFFFFF
##2157A61.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FA9
Deuteranopia (green-blind)
#0253A4
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2157a6;
/* rgb */ color: rgb(33, 87, 166);
/* oklch */ color: oklch(46.6% 0.140 258.4);
Tailwind
colors: {
  custom: {
    50: '#7285c1',
    500: '#2157a6',
    950: '#000000',
  },
}
SCSS
$custom: #2157a6;
$custom-light: #7285c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2157a6",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 166
  },
  "hsl": {
    "h": 215.639,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46607,
    "c": 0.13951,
    "h": 258.4
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#2157A6
secondary
#C59B5E
accent
#A43EEA
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2157A6

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

Preview Lab → · Contrast checker → · Palette generator →

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