#2156A3#2156A3

#2156A3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.137 H 258.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2156A3
RGBrgb(33, 86, 163)
HSLhsl(216, 66%, 38%)
HSVhsv(216, 80%, 64%)
CMYKcmyk(79.8%, 47.2%, 0%, 36.1%)
CIE-LABlab(37.16, 11.28, -46.58)
CIE-LCHlch(37.16, 47.92, 283.61°)
OKLaboklab(46.16% -0.0278 -0.1337)
OKLCHoklch(46.16% 0.137 258.3)
XYZxyz(10.5634, 9.6220, 35.9437)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156A3 #A36E21
analogous
#2197A3 #2156A3 #2D21A3
triadic
#2156A3 #A32156 #56A321
tetradic
#2156A3 #A32197 #A36E21 #21A32D
square
#2156A3 #A32197 #A36E21 #21A32D
split-complementary
#2156A3 #A32D21 #97A321
monochromatic
#0C203D #173B70 #2156A3 #2D71D4 #6093DF

Accessibility & contrast

On white

7.18
#2156A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2156A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2156A3
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156A3#FFFFFF#000000##FFFFFF
##2156A31.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA6
Deuteranopia (green-blind)
#0752A1
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2156a3;
/* rgb */ color: rgb(33, 86, 163);
/* oklch */ color: oklch(46.2% 0.137 258.3);
Tailwind
colors: {
  custom: {
    50: '#7185bf',
    500: '#2156a3',
    950: '#000000',
  },
}
SCSS
$custom: #2156a3;
$custom-light: #7185bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2156a3",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 163
  },
  "hsl": {
    "h": 215.538,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46164,
    "c": 0.1366,
    "h": 258.3
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#2156A3
secondary
#C3995C
accent
#A43FE9
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2156A3

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

Preview Lab → · Contrast checker → · Palette generator →

#2156A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva