#2158A0#2158A0

#2158A0 is a mid, vivid cyan. Relative luminance 0.098; OKLCH L 46.4% C 0.130 H 256.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2158A0
RGBrgb(33, 88, 160)
HSLhsl(214, 66%, 38%)
HSVhsv(214, 79%, 63%)
CMYKcmyk(79.4%, 45%, 0%, 37.3%)
CIE-LABlab(37.55, 8.77, -44.15)
CIE-LCHlch(37.55, 45.01, 281.24°)
OKLaboklab(46.41% -0.0301 -0.1265)
OKLCHoklch(46.41% 0.13 256.6)
XYZxyz(10.4597, 9.8396, 34.5989)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2158A0 #A06921
analogous
#2197A0 #2158A0 #2A21A0
triadic
#2158A0 #A02158 #58A021
tetradic
#2158A0 #A02197 #A06921 #21A02A
square
#2158A0 #A02197 #A06921 #21A02A
split-complementary
#2158A0 #A02A21 #97A021
monochromatic
#0C203B #173C6D #2158A0 #2B74D3 #5E95DE

Accessibility & contrast

On white

7.07
#2158A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2158A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2158A0
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2158A0#FFFFFF#000000##FFFFFF
##2158A01.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA3
Deuteranopia (green-blind)
#19539F
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2158a0;
/* rgb */ color: rgb(33, 88, 160);
/* oklch */ color: oklch(46.4% 0.130 256.6);
Tailwind
colors: {
  custom: {
    50: '#7086bc',
    500: '#2158a0',
    950: '#000000',
  },
}
SCSS
$custom: #2158a0;
$custom-light: #7086bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2158a0",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 160
  },
  "hsl": {
    "h": 214.016,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.13006,
    "h": 256.6
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#2158A0
secondary
#C2955B
accent
#9F3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2158A0

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

Preview Lab → · Contrast checker → · Palette generator →

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