#215798#215798

#215798 is a mid, vivid cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.120 H 255.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#215798
RGBrgb(33, 87, 152)
HSLhsl(213, 64%, 36%)
HSVhsv(213, 78%, 60%)
CMYKcmyk(78.3%, 42.8%, 0%, 40.4%)
CIE-LABlab(36.75, 6.28, -40.62)
CIE-LCHlch(36.75, 41.11, 278.78°)
OKLaboklab(45.63% -0.0309 -0.1162)
OKLCHoklch(45.63% 0.12 255.1)
XYZxyz(9.7008, 9.4056, 31.0039)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215798 #986221
analogous
#219398 #215798 #272198
triadic
#215798 #982157 #579821
tetradic
#215798 #982193 #986221 #219827
square
#215798 #982193 #986221 #219827
split-complementary
#215798 #982721 #939821
monochromatic
#0B1D33 #163A66 #215798 #2C74CA #5994DB

Accessibility & contrast

On white

7.29
#215798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#215798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215798
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215798#FFFFFF#000000##FFFFFF
##2157981.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#225197
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #215798;
/* rgb */ color: rgb(33, 87, 152);
/* oklch */ color: oklch(45.6% 0.120 255.1);
Tailwind
colors: {
  custom: {
    50: '#6f85b7',
    500: '#215798',
    950: '#000000',
  },
}
SCSS
$custom: #215798;
$custom-light: #6f85b7;
$custom-dark: #000000;
JSON
{
  "hex": "#215798",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 212.773,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.12024,
    "h": 255.1
  },
  "luminance": 0.09407
}

Semantic roles & 50–950 ramp

primary
#215798
secondary
#BF8F56
accent
#9C40E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #215798

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

Preview Lab → · Contrast checker → · Palette generator →

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