#2158A4#2158A4

#2158A4 is a mid, vivid cyan. Relative luminance 0.100; OKLCH L 46.7% C 0.136 H 257.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2158A4
RGBrgb(33, 88, 164)
HSLhsl(215, 66%, 39%)
HSVhsv(215, 80%, 64%)
CMYKcmyk(79.9%, 46.3%, 0%, 35.7%)
CIE-LABlab(37.81, 10.35, -46.12)
CIE-LCHlch(37.81, 47.27, 282.65°)
OKLaboklab(46.69% -0.0293 -0.1324)
OKLCHoklch(46.69% 0.136 257.5)
XYZxyz(10.8153, 9.9818, 36.4714)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2158A4 #A46D21
analogous
#2199A4 #2158A4 #2B21A4
triadic
#2158A4 #A42158 #58A421
tetradic
#2158A4 #A42199 #A46D21 #21A42B
square
#2158A4 #A42199 #A46D21 #21A42B
split-complementary
#2158A4 #A42B21 #99A421
monochromatic
#0C213E #173D71 #2158A4 #2D74D5 #6096DF

Accessibility & contrast

On white

7.01
#2158A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2158A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2158A4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2158A4#FFFFFF#000000##FFFFFF
##2158A41.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA7
Deuteranopia (green-blind)
#0F53A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2158a4;
/* rgb */ color: rgb(33, 88, 164);
/* oklch */ color: oklch(46.7% 0.136 257.5);
Tailwind
colors: {
  custom: {
    50: '#7186bf',
    500: '#2158a4',
    950: '#000000',
  },
}
SCSS
$custom: #2158a4;
$custom-light: #7186bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2158a4",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 214.809,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4669,
    "c": 0.13556,
    "h": 257.5
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#2158A4
secondary
#C4995D
accent
#A23EE9
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2158A4

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

Preview Lab → · Contrast checker → · Palette generator →

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