#213277#213277

#213277 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.120 H 268.9°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#213277
RGBrgb(33, 50, 119)
HSLhsl(228, 57%, 30%)
HSVhsv(228, 72%, 47%)
CMYKcmyk(72.3%, 58%, 0%, 53.3%)
CIE-LABlab(23.46, 18.46, -41.61)
CIE-LCHlch(23.46, 45.53, 293.93°)
OKLaboklab(34.71% -0.0024 -0.1198)
OKLCHoklch(34.71% 0.12 268.9)
XYZxyz(5.0964, 3.9359, 17.9403)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213277 #776621
analogous
#215D77 #213277 #3B2177
triadic
#213277 #772132 #327721
tetradic
#213277 #77215D #776621 #21773B
square
#213277 #77215D #776621 #21773B
split-complementary
#213277 #773B21 #5D7721
monochromatic
#070A18 #141E47 #213277 #2E46A7 #4761CC

Accessibility & contrast

On white

11.75
#213277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#213277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213277
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213277#FFFFFF#000000##FFFFFF
##2132771.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213277;
/* rgb */ color: rgb(33, 50, 119);
/* oklch */ color: oklch(34.7% 0.120 268.9);
Tailwind
colors: {
  custom: {
    50: '#68699f',
    500: '#213277',
    950: '#000000',
  },
}
SCSS
$custom: #213277;
$custom-light: #68699f;
$custom-dark: #000000;
JSON
{
  "hex": "#213277",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 228.14,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34712,
    "c": 0.11982,
    "h": 268.9
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#213277
secondary
#AA974A
accent
#C248E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213277

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

Preview Lab → · Contrast checker → · Palette generator →

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