#212460#212460

#212460 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.7% C 0.105 H 275.8°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#212460
RGBrgb(33, 36, 96)
HSLhsl(237, 49%, 25%)
HSVhsv(237, 66%, 38%)
CMYKcmyk(65.6%, 62.5%, 0%, 62.4%)
CIE-LABlab(17.60, 19.43, -36.22)
CIE-LCHlch(17.60, 41.10, 298.21°)
OKLaboklab(29.74% 0.0106 -0.1041)
OKLCHoklch(29.74% 0.105 275.8)
XYZxyz(3.3687, 2.4293, 11.3555)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212460 #605D21
analogous
#214360 #212460 #3D2160
triadic
#212460 #602124 #246021
tetradic
#212460 #602143 #605D21 #21603D
square
#212460 #602143 #605D21 #21603D
split-complementary
#212460 #603D21 #436021
monochromatic
#080917 #111332 #212460 #31358E #4046BB

Accessibility & contrast

On white

14.13
#212460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#212460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212460
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212460#FFFFFF#000000##FFFFFF
##2124601.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #212460;
/* rgb */ color: rgb(33, 36, 96);
/* oklch */ color: oklch(29.7% 0.105 275.8);
Tailwind
colors: {
  custom: {
    50: '#645e8e',
    500: '#212460',
    950: '#000000',
  },
}
SCSS
$custom: #212460;
$custom-light: #645e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#212460",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 96
  },
  "hsl": {
    "h": 237.143,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29739,
    "c": 0.10465,
    "h": 275.8
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#212460
secondary
#949149
accent
#D24FD8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #212460

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

Preview Lab → · Contrast checker → · Palette generator →

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