#212260#212260

#212260 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.3% C 0.108 H 276.8°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#212260
RGBrgb(33, 34, 96)
HSLhsl(239, 49%, 25%)
HSVhsv(239, 66%, 38%)
CMYKcmyk(65.6%, 64.6%, 0%, 62.4%)
CIE-LABlab(17.04, 20.84, -37.11)
CIE-LCHlch(17.04, 42.57, 299.32°)
OKLaboklab(29.33% 0.0127 -0.1068)
OKLCHoklch(29.33% 0.108 276.8)
XYZxyz(3.3099, 2.3117, 11.3358)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212260 #605F21
analogous
#214160 #212260 #402160
triadic
#212260 #602122 #226021
tetradic
#212260 #602141 #605F21 #216040
square
#212260 #602141 #605F21 #216040
split-complementary
#212260 #604021 #416021
monochromatic
#080817 #111232 #212260 #31328E #4042BB

Accessibility & contrast

On white

14.36
#212260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#212260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212260
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212260#FFFFFF#000000##FFFFFF
##2122601.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #212260;
/* rgb */ color: rgb(33, 34, 96);
/* oklch */ color: oklch(29.3% 0.108 276.8);
Tailwind
colors: {
  custom: {
    50: '#645d8e',
    500: '#212260',
    950: '#000000',
  },
}
SCSS
$custom: #212260;
$custom-light: #645d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#212260",
  "rgb": {
    "r": 33,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 239.048,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29331,
    "c": 0.10751,
    "h": 276.8
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#212260
secondary
#949349
accent
#D64FD8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #212260

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

Preview Lab → · Contrast checker → · Palette generator →

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