#212665#212665

#212665 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.6% C 0.109 H 274.5°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#212665
RGBrgb(33, 38, 101)
HSLhsl(236, 51%, 26%)
HSVhsv(236, 67%, 40%)
CMYKcmyk(67.3%, 62.4%, 0%, 60.4%)
CIE-LABlab(18.58, 19.93, -37.91)
CIE-LCHlch(18.58, 42.83, 297.73°)
OKLaboklab(30.6% 0.0086 -0.1091)
OKLCHoklch(30.6% 0.109 274.5)
XYZxyz(3.6685, 2.6488, 12.6273)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212665 #656021
analogous
#214865 #212665 #3E2165
triadic
#212665 #652126 #266521
tetradic
#212665 #652148 #656021 #21653E
square
#212665 #652148 #656021 #21653E
split-complementary
#212665 #653E21 #486521
monochromatic
#080917 #121537 #212665 #303793 #4049C1

Accessibility & contrast

On white

13.73
#212665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#212665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212665
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212665#FFFFFF#000000##FFFFFF
##2126651.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #212665;
/* rgb */ color: rgb(33, 38, 101);
/* oklch */ color: oklch(30.6% 0.109 274.5);
Tailwind
colors: {
  custom: {
    50: '#656091',
    500: '#212665',
    950: '#000000',
  },
}
SCSS
$custom: #212665;
$custom-light: #656091;
$custom-dark: #000000;
JSON
{
  "hex": "#212665",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 101
  },
  "hsl": {
    "h": 235.588,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30601,
    "c": 0.10941,
    "h": 274.5
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#212665
secondary
#999349
accent
#D04EDA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #212665

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

Preview Lab → · Contrast checker → · Palette generator →

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