#215797#215797

#215797 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.119 H 254.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#215797
RGBrgb(33, 87, 151)
HSLhsl(213, 64%, 36%)
HSVhsv(213, 78%, 59%)
CMYKcmyk(78.1%, 42.4%, 0%, 40.8%)
CIE-LABlab(36.69, 5.88, -40.12)
CIE-LCHlch(36.69, 40.55, 278.34°)
OKLaboklab(45.56% -0.0311 -0.1147)
OKLCHoklch(45.56% 0.119 254.8)
XYZxyz(9.6192, 9.3730, 30.5744)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215797 #976121
analogous
#219297 #215797 #262197
triadic
#215797 #972157 #579721
tetradic
#215797 #972192 #976121 #219726
square
#215797 #972192 #976121 #219726
split-complementary
#215797 #972621 #929721
monochromatic
#0B1D33 #163A65 #215797 #2C74C9 #5894DA

Accessibility & contrast

On white

7.30
#215797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #215797
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215797#FFFFFF#000000##FFFFFF
##2157971.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #215797;
/* rgb */ color: rgb(33, 87, 151);
/* oklch */ color: oklch(45.6% 0.119 254.8);
Tailwind
colors: {
  custom: {
    50: '#6e85b6',
    500: '#215797',
    950: '#000000',
  },
}
SCSS
$custom: #215797;
$custom-light: #6e85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#215797",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 212.542,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.11886,
    "h": 254.8
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#215797
secondary
#BE8E55
accent
#9B41E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #215797

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

Preview Lab → · Contrast checker → · Palette generator →

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