#2157A7#2157A7

#2157A7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.141 H 258.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2157A7
RGBrgb(33, 87, 167)
HSLhsl(216, 67%, 39%)
HSVhsv(216, 80%, 65%)
CMYKcmyk(80.2%, 47.9%, 0%, 34.5%)
CIE-LABlab(37.71, 12.20, -48.06)
CIE-LCHlch(37.71, 49.59, 284.24°)
OKLaboklab(46.68% -0.0279 -0.1381)
OKLCHoklch(46.68% 0.141 258.6)
XYZxyz(11.0079, 9.9284, 37.8879)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2157A7 #A77121
analogous
#219AA7 #2157A7 #2E21A7
triadic
#2157A7 #A72157 #57A721
tetradic
#2157A7 #A7219A #A77121 #21A72E
square
#2157A7 #A7219A #A77121 #21A72E
split-complementary
#2157A7 #A72E21 #9AA721
monochromatic
#0D2241 #173C74 #2157A7 #2F72D6 #6295E0

Accessibility & contrast

On white

7.03
#2157A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2157A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2157A7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2157A7#FFFFFF#000000##FFFFFF
##2157A71.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FAA
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2157a7;
/* rgb */ color: rgb(33, 87, 167);
/* oklch */ color: oklch(46.7% 0.141 258.6);
Tailwind
colors: {
  custom: {
    50: '#7285c2',
    500: '#2157a7',
    950: '#000000',
  },
}
SCSS
$custom: #2157a7;
$custom-light: #7285c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2157a7",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 167
  },
  "hsl": {
    "h": 215.821,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46679,
    "c": 0.14089,
    "h": 258.6
  },
  "luminance": 0.0993
}

Semantic roles & 50–950 ramp

primary
#2157A7
secondary
#C59C5F
accent
#A53EEA
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2157A7

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

Preview Lab → · Contrast checker → · Palette generator →

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