#215181#215181

#215181 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.095 H 251.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#215181
RGBrgb(33, 81, 129)
HSLhsl(210, 59%, 32%)
HSVhsv(210, 74%, 51%)
CMYKcmyk(74.4%, 37.2%, 0%, 49.4%)
CIE-LABlab(33.55, 1.19, -31.71)
CIE-LCHlch(33.55, 31.73, 272.15°)
OKLaboklab(42.69% -0.0309 -0.0902)
OKLCHoklch(42.69% 0.095 251.1)
XYZxyz(7.5306, 7.7923, 21.8718)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215181 #815121
analogous
#218181 #215181 #212181
triadic
#215181 #812151 #518121
tetradic
#215181 #812181 #815121 #218121
square
#215181 #812181 #815121 #218121
split-complementary
#215181 #812121 #818121
monochromatic
#081420 #153250 #215181 #2D70B2 #4B8ED1

Accessibility & contrast

On white

8.21
#215181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#215181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215181
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215181#FFFFFF#000000##FFFFFF
##2151811.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5483
Deuteranopia (green-blind)
#2D4B80
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #215181;
/* rgb */ color: rgb(33, 81, 129);
/* oklch */ color: oklch(42.7% 0.095 251.1);
Tailwind
colors: {
  custom: {
    50: '#6a81a6',
    500: '#215181',
    950: '#000000',
  },
}
SCSS
$custom: #215181;
$custom-light: #6a81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#215181",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 210,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.09532,
    "h": 251.1
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#215181
secondary
#B47F4A
accent
#9445E2
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #215181

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

Preview Lab → · Contrast checker → · Palette generator →

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