#212375#212375

#212375 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.137 H 274.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#212375
RGBrgb(33, 35, 117)
HSLhsl(239, 56%, 29%)
HSVhsv(239, 72%, 46%)
CMYKcmyk(71.8%, 70.1%, 0%, 54.1%)
CIE-LABlab(19.26, 28.05, -47.18)
CIE-LCHlch(19.26, 54.89, 300.73°)
OKLaboklab(31.56% 0.0101 -0.1363)
OKLCHoklch(31.56% 0.137 274.2)
XYZxyz(4.4381, 2.8093, 17.1345)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212375 #757321
analogous
#214D75 #212375 #492175
triadic
#212375 #752123 #237521
tetradic
#212375 #75214D #757321 #217549
square
#212375 #75214D #757321 #217549
split-complementary
#212375 #754921 #4D7521
monochromatic
#070718 #141545 #212375 #2E31A5 #4649CB

Accessibility & contrast

On white

13.44
#212375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#212375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212375
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212375#FFFFFF#000000##FFFFFF
##2123751.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #212375;
/* rgb */ color: rgb(33, 35, 117);
/* oklch */ color: oklch(31.6% 0.137 274.2);
Tailwind
colors: {
  custom: {
    50: '#695e9e',
    500: '#212375',
    950: '#000000',
  },
}
SCSS
$custom: #212375;
$custom-light: #695e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#212375",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 117
  },
  "hsl": {
    "h": 238.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31559,
    "c": 0.13665,
    "h": 274.2
  },
  "luminance": 0.0281
}

Semantic roles & 50–950 ramp

primary
#212375
secondary
#A8A64A
accent
#DC49DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #212375

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

Preview Lab → · Contrast checker → · Palette generator →

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