#215178#215178

#215178 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.083 H 246.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#215178
RGBrgb(33, 81, 120)
HSLhsl(207, 57%, 30%)
HSVhsv(207, 73%, 47%)
CMYKcmyk(72.5%, 32.5%, 0%, 52.9%)
CIE-LABlab(33.06, -2.28, -26.90)
CIE-LCHlch(33.06, 27.00, 265.15°)
OKLaboklab(42.14% -0.0337 -0.0761)
OKLCHoklch(42.14% 0.083 246.1)
XYZxyz(6.9585, 7.5635, 18.8588)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215178 #784821
analogous
#217874 #215178 #212578
triadic
#215178 #782151 #517821
tetradic
#215178 #742178 #784821 #257821
square
#215178 #742178 #784821 #257821
split-complementary
#215178 #782125 #787421
monochromatic
#071018 #143148 #215178 #2E71A8 #4791CC

Accessibility & contrast

On white

8.36
#215178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#215178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215178
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215178#FFFFFF#000000##FFFFFF
##2151781.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #215178;
/* rgb */ color: rgb(33, 81, 120);
/* oklch */ color: oklch(42.1% 0.083 246.1);
Tailwind
colors: {
  custom: {
    50: '#68819f',
    500: '#215178',
    950: '#000000',
  },
}
SCSS
$custom: #215178;
$custom-light: #68819f;
$custom-dark: #000000;
JSON
{
  "hex": "#215178",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 206.897,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.08325,
    "h": 246.1
  },
  "luminance": 0.07564
}

Semantic roles & 50–950 ramp

primary
#215178
secondary
#AB754A
accent
#8C48E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #215178

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

Preview Lab → · Contrast checker → · Palette generator →

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