#212685#212685

#212685 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.155 H 272.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#212685
RGBrgb(33, 38, 133)
HSLhsl(237, 60%, 33%)
HSVhsv(237, 75%, 52%)
CMYKcmyk(75.2%, 71.4%, 0%, 47.8%)
CIE-LABlab(21.59, 31.99, -53.52)
CIE-LCHlch(21.59, 62.35, 300.87°)
OKLaboklab(33.73% 0.0061 -0.1548)
OKLCHoklch(33.73% 0.155 272.3)
XYZxyz(5.5525, 3.4024, 22.5499)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212685 #858021
analogous
#215885 #212685 #4E2185
triadic
#212685 #852126 #268521
tetradic
#212685 #852158 #858021 #21854E
square
#212685 #852158 #858021 #21854E
split-complementary
#212685 #854E21 #588521
monochromatic
#090A23 #151854 #212685 #2D34B6 #4D54D3

Accessibility & contrast

On white

12.50
#212685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#212685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212685
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212685#FFFFFF#000000##FFFFFF
##2126851.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #212685;
/* rgb */ color: rgb(33, 38, 133);
/* oklch */ color: oklch(33.7% 0.155 272.3);
Tailwind
colors: {
  custom: {
    50: '#6d61a9',
    500: '#212685',
    950: '#000000',
  },
}
SCSS
$custom: #212685;
$custom-light: #6d61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#212685",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 237,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33727,
    "c": 0.15493,
    "h": 272.3
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#212685
secondary
#B6B14C
accent
#DB44E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #212685

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

Preview Lab → · Contrast checker → · Palette generator →

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