#215796#215796

#215796 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.5% C 0.117 H 254.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#215796
RGBrgb(33, 87, 150)
HSLhsl(212, 64%, 36%)
HSVhsv(212, 78%, 59%)
CMYKcmyk(78%, 42%, 0%, 41.2%)
CIE-LABlab(36.63, 5.49, -39.61)
CIE-LCHlch(36.63, 39.99, 277.89°)
OKLaboklab(45.49% -0.0313 -0.1132)
OKLCHoklch(45.49% 0.117 254.5)
XYZxyz(9.5384, 9.3406, 30.1485)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215796 #966021
analogous
#219196 #215796 #262196
triadic
#215796 #962157 #579621
tetradic
#215796 #962191 #966021 #219626
square
#215796 #962191 #966021 #219626
split-complementary
#215796 #962621 #919621
monochromatic
#0B1D32 #163A64 #215796 #2C74C8 #5794DA

Accessibility & contrast

On white

7.32
#215796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#215796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215796
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215796#FFFFFF#000000##FFFFFF
##2157961.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C98
Deuteranopia (green-blind)
#255195
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #215796;
/* rgb */ color: rgb(33, 87, 150);
/* oklch */ color: oklch(45.5% 0.117 254.5);
Tailwind
colors: {
  custom: {
    50: '#6e85b5',
    500: '#215796',
    950: '#000000',
  },
}
SCSS
$custom: #215796;
$custom-light: #6e85b5;
$custom-dark: #000000;
JSON
{
  "hex": "#215796",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 212.308,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45494,
    "c": 0.11749,
    "h": 254.5
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#215796
secondary
#BE8D55
accent
#9A41E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #215796

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

Preview Lab → · Contrast checker → · Palette generator →

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