#215898#215898

#215898 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.119 H 254.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#215898
RGBrgb(33, 88, 152)
HSLhsl(212, 64%, 36%)
HSVhsv(212, 78%, 60%)
CMYKcmyk(78.3%, 42.1%, 0%, 40.4%)
CIE-LABlab(37.06, 5.62, -40.14)
CIE-LCHlch(37.06, 40.53, 277.98°)
OKLaboklab(45.86% -0.0318 -0.1148)
OKLCHoklch(45.86% 0.119 254.5)
XYZxyz(9.7823, 9.5686, 31.0310)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215898 #986121
analogous
#219498 #215898 #262198
triadic
#215898 #982158 #589821
tetradic
#215898 #982194 #986121 #219826
square
#215898 #982194 #986121 #219826
split-complementary
#215898 #982621 #949821
monochromatic
#0B1E33 #163B66 #215898 #2C75CA #5995DB

Accessibility & contrast

On white

7.21
#215898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#215898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215898
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215898#FFFFFF#000000##FFFFFF
##2158981.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#245297
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #215898;
/* rgb */ color: rgb(33, 88, 152);
/* oklch */ color: oklch(45.9% 0.119 254.5);
Tailwind
colors: {
  custom: {
    50: '#6e86b7',
    500: '#215898',
    950: '#000000',
  },
}
SCSS
$custom: #215898;
$custom-light: #6e86b7;
$custom-dark: #000000;
JSON
{
  "hex": "#215898",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 152
  },
  "hsl": {
    "h": 212.269,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.11908,
    "h": 254.5
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#215898
secondary
#BF8E56
accent
#9A40E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #215898

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

Preview Lab → · Contrast checker → · Palette generator →

#215898 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva