#2158A9#2158A9

#2158A9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.142 H 258.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2158A9
RGBrgb(33, 88, 169)
HSLhsl(216, 67%, 40%)
HSVhsv(216, 80%, 66%)
CMYKcmyk(80.5%, 47.9%, 0%, 33.7%)
CIE-LABlab(38.14, 12.32, -48.57)
CIE-LCHlch(38.14, 50.11, 284.24°)
OKLaboklab(47.05% -0.0284 -0.1395)
OKLCHoklch(47.05% 0.142 258.5)
XYZxyz(11.2757, 10.1660, 38.8964)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2158A9 #A97221
analogous
#219CA9 #2158A9 #2E21A9
triadic
#2158A9 #A92158 #58A921
tetradic
#2158A9 #A9219C #A97221 #21A92E
square
#2158A9 #A9219C #A97221 #21A92E
split-complementary
#2158A9 #A92E21 #9CA921
monochromatic
#0D2343 #173D76 #2158A9 #3174D7 #6496E1

Accessibility & contrast

On white

6.92
#2158A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2158A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2158A9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2158A9#FFFFFF#000000##FFFFFF
##2158A91.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B60AC
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2158a9;
/* rgb */ color: rgb(33, 88, 169);
/* oklch */ color: oklch(47.0% 0.142 258.5);
Tailwind
colors: {
  custom: {
    50: '#7286c3',
    500: '#2158a9',
    950: '#000000',
  },
}
SCSS
$custom: #2158a9;
$custom-light: #7286c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2158a9",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 169
  },
  "hsl": {
    "h": 215.735,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.14241,
    "h": 258.5
  },
  "luminance": 0.10167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2158A9

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

Preview Lab → · Contrast checker → · Palette generator →

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