#215F7B#215F7B

#215F7B is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.9% C 0.077 H 231.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#215F7B
RGBrgb(33, 95, 123)
HSLhsl(199, 58%, 31%)
HSVhsv(199, 73%, 48%)
CMYKcmyk(73.2%, 22.8%, 0%, 51.8%)
CIE-LABlab(37.73, -9.82, -21.46)
CIE-LCHlch(37.73, 23.60, 245.40°)
OKLaboklab(45.89% -0.0478 -0.0602)
OKLCHoklch(45.89% 0.077 231.5)
XYZxyz(8.2931, 9.9369, 20.2160)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215F7B #7B3D21
analogous
#217B6A #215F7B #21327B
triadic
#215F7B #7B215F #5F7B21
tetradic
#215F7B #6A217B #7B3D21 #327B21
square
#215F7B #6A217B #7B3D21 #327B21
split-complementary
#215F7B #7B2132 #7B6A21
monochromatic
#07141A #143A4B #215F7B #2E84AB #48A4CE

Accessibility & contrast

On white

7.03
#215F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#215F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215F7B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215F7B#FFFFFF#000000##FFFFFF
##215F7B1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7C
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#006768
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #215f7b;
/* rgb */ color: rgb(33, 95, 123);
/* oklch */ color: oklch(45.9% 0.077 231.5);
Tailwind
colors: {
  custom: {
    50: '#698ca1',
    500: '#215f7b',
    950: '#000000',
  },
}
SCSS
$custom: #215f7b;
$custom-light: #698ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#215f7b",
  "rgb": {
    "r": 33,
    "g": 95,
    "b": 123
  },
  "hsl": {
    "h": 198.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.45893,
    "c": 0.07694,
    "h": 231.5
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#215F7B
secondary
#AE694A
accent
#7747E1
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0F
muted
#7A7D7E

Preview Lab

Preview with #215F7B

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

Preview Lab → · Contrast checker → · Palette generator →

#215F7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva