#2157A9#2157A9

#2157A9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.144 H 258.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2157A9
RGBrgb(33, 87, 169)
HSLhsl(216, 67%, 40%)
HSVhsv(216, 80%, 66%)
CMYKcmyk(80.5%, 48.5%, 0%, 33.7%)
CIE-LABlab(37.85, 12.99, -49.04)
CIE-LCHlch(37.85, 50.73, 284.83°)
OKLaboklab(46.83% -0.0276 -0.1409)
OKLCHoklch(46.83% 0.144 258.9)
XYZxyz(11.1942, 10.0030, 38.8692)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2157A9 #A97321
analogous
#219BA9 #2157A9 #2F21A9
triadic
#2157A9 #A92157 #57A921
tetradic
#2157A9 #A9219B #A97321 #21A92F
square
#2157A9 #A9219B #A97321 #21A92F
split-complementary
#2157A9 #A92F21 #9BA921
monochromatic
#0D2243 #173D76 #2157A9 #3172D7 #6495E1

Accessibility & contrast

On white

7.00
#2157A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2157A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2157A9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2157A9#FFFFFF#000000##FFFFFF
##2157A91.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AC
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2157a9;
/* rgb */ color: rgb(33, 87, 169);
/* oklch */ color: oklch(46.8% 0.144 258.9);
Tailwind
colors: {
  custom: {
    50: '#7285c3',
    500: '#2157a9',
    950: '#000000',
  },
}
SCSS
$custom: #2157a9;
$custom-light: #7285c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2157a9",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 169
  },
  "hsl": {
    "h": 216.176,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46825,
    "c": 0.14363,
    "h": 258.9
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

primary
#2157A9
secondary
#C69D60
accent
#A63EEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2157A9

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

Preview Lab → · Contrast checker → · Palette generator →

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