#215298#215298

#215298 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.126 H 257.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#215298
RGBrgb(33, 82, 152)
HSLhsl(215, 64%, 36%)
HSVhsv(215, 78%, 60%)
CMYKcmyk(78.3%, 46.1%, 0%, 40.4%)
CIE-LABlab(35.25, 9.58, -43.03)
CIE-LCHlch(35.25, 44.08, 282.55°)
OKLaboklab(44.46% -0.0264 -0.1234)
OKLCHoklch(44.46% 0.126 257.9)
XYZxyz(9.3099, 8.6238, 30.8736)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215298 #986721
analogous
#218E98 #215298 #2C2198
triadic
#215298 #982152 #529821
tetradic
#215298 #98218E #986721 #21982C
square
#215298 #98218E #986721 #21982C
split-complementary
#215298 #982C21 #8E9821
monochromatic
#0B1C33 #163766 #215298 #2C6DCA #598EDB

Accessibility & contrast

On white

7.71
#215298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#215298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215298
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215298#FFFFFF#000000##FFFFFF
##2152981.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#134E97
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #215298;
/* rgb */ color: rgb(33, 82, 152);
/* oklch */ color: oklch(44.5% 0.126 257.9);
Tailwind
colors: {
  custom: {
    50: '#6f82b7',
    500: '#215298',
    950: '#000000',
  },
}
SCSS
$custom: #215298;
$custom-light: #6f82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#215298",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 152
  },
  "hsl": {
    "h": 215.294,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44462,
    "c": 0.12618,
    "h": 257.9
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#215298
secondary
#BF9456
accent
#A340E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #215298

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

Preview Lab → · Contrast checker → · Palette generator →

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