#215799#215799

#215799 is a mid, vivid cyan. Relative luminance 0.094; OKLCH L 45.7% C 0.122 H 255.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#215799
RGBrgb(33, 87, 153)
HSLhsl(213, 65%, 36%)
HSVhsv(213, 78%, 60%)
CMYKcmyk(78.4%, 43.1%, 0%, 40%)
CIE-LABlab(36.82, 6.67, -41.13)
CIE-LCHlch(36.82, 41.66, 279.21°)
OKLaboklab(45.7% -0.0307 -0.1177)
OKLCHoklch(45.7% 0.122 255.4)
XYZxyz(9.7830, 9.4385, 31.4370)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215799 #996321
analogous
#219399 #215799 #272199
triadic
#215799 #992157 #579921
tetradic
#215799 #992193 #996321 #219927
square
#215799 #992193 #996321 #219927
split-complementary
#215799 #992721 #939921
monochromatic
#0B1E34 #163A67 #215799 #2C74CB #5994DB

Accessibility & contrast

On white

7.27
#215799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#215799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215799
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215799#FFFFFF#000000##FFFFFF
##2157991.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9C
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #215799;
/* rgb */ color: rgb(33, 87, 153);
/* oklch */ color: oklch(45.7% 0.122 255.4);
Tailwind
colors: {
  custom: {
    50: '#6f85b7',
    500: '#215799',
    950: '#000000',
  },
}
SCSS
$custom: #215799;
$custom-light: #6f85b7;
$custom-dark: #000000;
JSON
{
  "hex": "#215799",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 213,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45695,
    "c": 0.12162,
    "h": 255.4
  },
  "luminance": 0.0944
}

Semantic roles & 50–950 ramp

primary
#215799
secondary
#BF9056
accent
#9C40E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #215799

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

Preview Lab → · Contrast checker → · Palette generator →

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