#212369#212369

#212369 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.4% C 0.120 H 275.4°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#212369
RGBrgb(33, 35, 105)
HSLhsl(238, 52%, 27%)
HSVhsv(238, 69%, 41%)
CMYKcmyk(68.6%, 66.7%, 0%, 58.8%)
CIE-LABlab(18.12, 23.55, -41.28)
CIE-LCHlch(18.12, 47.52, 299.71°)
OKLaboklab(30.37% 0.0113 -0.119)
OKLCHoklch(30.37% 0.12 275.4)
XYZxyz(3.7772, 2.5450, 13.6540)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212369 #696721
analogous
#214769 #212369 #432169
triadic
#212369 #692123 #236921
tetradic
#212369 #692147 #696721 #216943
square
#212369 #692147 #696721 #216943
split-complementary
#212369 #694321 #476921
monochromatic
#070817 #12133A #212369 #303398 #4145C3

Accessibility & contrast

On white

13.92
#212369 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#212369 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212369
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212369#FFFFFF#000000##FFFFFF
##2123691.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6B
Deuteranopia (green-blind)
#002968
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #212369;
/* rgb */ color: rgb(33, 35, 105);
/* oklch */ color: oklch(30.4% 0.120 275.4);
Tailwind
colors: {
  custom: {
    50: '#665e95',
    500: '#212369',
    950: '#000000',
  },
}
SCSS
$custom: #212369;
$custom-light: #665e95;
$custom-dark: #000000;
JSON
{
  "hex": "#212369",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 105
  },
  "hsl": {
    "h": 238.333,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30374,
    "c": 0.11952,
    "h": 275.4
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#212369
secondary
#9D9B49
accent
#D84CDC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #212369

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

Preview Lab → · Contrast checker → · Palette generator →

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