#212965#212965

#212965 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.105 H 273.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#212965
RGBrgb(33, 41, 101)
HSLhsl(233, 51%, 26%)
HSVhsv(233, 67%, 40%)
CMYKcmyk(67.3%, 59.4%, 0%, 60.4%)
CIE-LABlab(19.43, 17.79, -36.54)
CIE-LCHlch(19.43, 40.64, 295.96°)
OKLaboklab(31.23% 0.0055 -0.105)
OKLCHoklch(31.23% 0.105 273)
XYZxyz(3.7683, 2.8485, 12.6606)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212965 #655D21
analogous
#214B65 #212965 #3B2165
triadic
#212965 #652129 #296521
tetradic
#212965 #65214B #655D21 #21653B
square
#212965 #65214B #655D21 #21653B
split-complementary
#212965 #653B21 #4B6521
monochromatic
#080917 #121637 #212965 #303C93 #404FC1

Accessibility & contrast

On white

13.38
#212965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#212965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212965
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212965#FFFFFF#000000##FFFFFF
##2129651.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #212965;
/* rgb */ color: rgb(33, 41, 101);
/* oklch */ color: oklch(31.2% 0.105 273.0);
Tailwind
colors: {
  custom: {
    50: '#656291',
    500: '#212965',
    950: '#000000',
  },
}
SCSS
$custom: #212965;
$custom-light: #656291;
$custom-dark: #000000;
JSON
{
  "hex": "#212965",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 232.941,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31232,
    "c": 0.10514,
    "h": 273
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#212965
secondary
#999049
accent
#CA4EDA
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #212965

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

Preview Lab → · Contrast checker → · Palette generator →

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