#215097#215097

#215097 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.127 H 258.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#215097
RGBrgb(33, 80, 151)
HSLhsl(216, 64%, 36%)
HSVhsv(216, 78%, 59%)
CMYKcmyk(78.1%, 47%, 0%, 40.8%)
CIE-LABlab(34.59, 10.52, -43.49)
CIE-LCHlch(34.59, 44.74, 283.59°)
OKLaboklab(43.93% -0.0249 -0.1248)
OKLCHoklch(43.93% 0.127 258.7)
XYZxyz(9.0797, 8.2940, 30.3945)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215097 #976821
analogous
#218B97 #215097 #2D2197
triadic
#215097 #972150 #509721
tetradic
#215097 #97218B #976821 #21972D
square
#215097 #97218B #976821 #21972D
split-complementary
#215097 #972D21 #8B9721
monochromatic
#0B1B33 #163565 #215097 #2C6BC9 #588CDA

Accessibility & contrast

On white

7.90
#215097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#215097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215097
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215097#FFFFFF#000000##FFFFFF
##2150971.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#0D4C96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #215097;
/* rgb */ color: rgb(33, 80, 151);
/* oklch */ color: oklch(43.9% 0.127 258.7);
Tailwind
colors: {
  custom: {
    50: '#6e80b6',
    500: '#215097',
    950: '#000000',
  },
}
SCSS
$custom: #215097;
$custom-light: #6e80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#215097",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 216.102,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.12723,
    "h": 258.7
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#215097
secondary
#BE9555
accent
#A541E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #215097

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

Preview Lab → · Contrast checker → · Palette generator →

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