#213283#213283

#213283 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.137 H 269.1°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#213283
RGBrgb(33, 50, 131)
HSLhsl(230, 60%, 32%)
HSVhsv(230, 75%, 51%)
CMYKcmyk(74.8%, 61.8%, 0%, 48.6%)
CIE-LABlab(24.46, 23.17, -47.57)
CIE-LCHlch(24.46, 52.91, 295.97°)
OKLaboklab(35.77% -0.0021 -0.1373)
OKLCHoklch(35.77% 0.137 269.1)
XYZxyz(5.8631, 4.2426, 21.9782)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213283 #837221
analogous
#216383 #213283 #412183
triadic
#213283 #832132 #328321
tetradic
#213283 #832163 #837221 #218341
square
#213283 #832163 #837221 #218341
split-complementary
#213283 #834121 #638321
monochromatic
#080D21 #151F52 #213283 #2D45B4 #4C64D2

Accessibility & contrast

On white

11.36
#213283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#213283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213283
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213283#FFFFFF#000000##FFFFFF
##2132831.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213283;
/* rgb */ color: rgb(33, 50, 131);
/* oklch */ color: oklch(35.8% 0.137 269.1);
Tailwind
colors: {
  custom: {
    50: '#6b69a8',
    500: '#213283',
    950: '#000000',
  },
}
SCSS
$custom: #213283;
$custom-light: #6b69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#213283",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 229.592,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35772,
    "c": 0.13731,
    "h": 269.1
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

primary
#213283
secondary
#B5A34B
accent
#C845E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #213283

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

Preview Lab → · Contrast checker → · Palette generator →

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