#213875#213875

#213875 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.109 H 265.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#213875
RGBrgb(33, 56, 117)
HSLhsl(224, 56%, 29%)
HSVhsv(224, 72%, 46%)
CMYKcmyk(71.8%, 52.1%, 0%, 54.1%)
CIE-LABlab(25.06, 13.44, -37.75)
CIE-LCHlch(25.06, 40.07, 289.60°)
OKLaboklab(35.88% -0.0082 -0.1083)
OKLCHoklch(35.88% 0.109 265.7)
XYZxyz(5.2511, 4.4355, 17.4056)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213875 #755E21
analogous
#216275 #213875 #342175
triadic
#213875 #752138 #387521
tetradic
#213875 #752162 #755E21 #217534
square
#213875 #752162 #755E21 #217534
split-complementary
#213875 #753421 #627521
monochromatic
#070B18 #142145 #213875 #2E4FA5 #466ACB

Accessibility & contrast

On white

11.13
#213875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#213875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213875
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213875#FFFFFF#000000##FFFFFF
##2138751.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154077
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213875;
/* rgb */ color: rgb(33, 56, 117);
/* oklch */ color: oklch(35.9% 0.109 265.7);
Tailwind
colors: {
  custom: {
    50: '#676e9d',
    500: '#213875',
    950: '#000000',
  },
}
SCSS
$custom: #213875;
$custom-light: #676e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#213875",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 117
  },
  "hsl": {
    "h": 223.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35876,
    "c": 0.10864,
    "h": 265.7
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#213875
secondary
#A88E4A
accent
#B649DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213875

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

Preview Lab → · Contrast checker → · Palette generator →

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