#213889#213889

#213889 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.138 H 267.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#213889
RGBrgb(33, 56, 137)
HSLhsl(227, 61%, 33%)
HSVhsv(227, 76%, 54%)
CMYKcmyk(75.9%, 59.1%, 0%, 46.3%)
CIE-LABlab(26.61, 21.37, -47.80)
CIE-LCHlch(26.61, 52.36, 294.09°)
OKLaboklab(37.54% -0.0066 -0.1379)
OKLCHoklch(37.54% 0.138 267.3)
XYZxyz(6.5552, 4.9571, 24.2734)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213889 #897221
analogous
#216C89 #213889 #3E2189
triadic
#213889 #892138 #388921
tetradic
#213889 #89216C #897221 #21893E
square
#213889 #89216C #897221 #21893E
split-complementary
#213889 #893E21 #6C8921
monochromatic
#091026 #152458 #213889 #2D4CBA #506DD5

Accessibility & contrast

On white

10.54
#213889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#213889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213889
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213889#FFFFFF#000000##FFFFFF
##2138891.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213889;
/* rgb */ color: rgb(33, 56, 137);
/* oklch */ color: oklch(37.5% 0.138 267.3);
Tailwind
colors: {
  custom: {
    50: '#6c6eac',
    500: '#213889',
    950: '#000000',
  },
}
SCSS
$custom: #213889;
$custom-light: #6c6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#213889",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 226.731,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37537,
    "c": 0.13806,
    "h": 267.3
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#213889
secondary
#B8A14E
accent
#C144E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #213889

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

Preview Lab → · Contrast checker → · Palette generator →

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