#213FB3#213FB3

#213FB3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.187 H 266.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#213FB3
RGBrgb(33, 63, 179)
HSLhsl(228, 69%, 42%)
HSVhsv(228, 82%, 70%)
CMYKcmyk(81.6%, 64.8%, 0%, 29.8%)
CIE-LABlab(32.11, 32.86, -64.32)
CIE-LCHlch(32.11, 72.22, 297.06°)
OKLaboklab(42.74% -0.0111 -0.1862)
OKLCHoklch(42.74% 0.187 266.6)
XYZxyz(10.5385, 7.1318, 43.4602)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213FB3 #B39521
analogous
#2188B3 #213FB3 #4C21B3
triadic
#213FB3 #B3213F #3FB321
tetradic
#213FB3 #B32188 #B39521 #21B34C
square
#213FB3 #B32188 #B39521 #21B34C
split-complementary
#213FB3 #B34C21 #88B321
monochromatic
#0E1B4C #172D7F #213FB3 #3759DA #6B84E4

Accessibility & contrast

On white

8.65
#213FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#213FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213FB3
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213FB3#FFFFFF#000000##FFFFFF
##213FB31.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #213fb3;
/* rgb */ color: rgb(33, 63, 179);
/* oklch */ color: oklch(42.7% 0.187 266.6);
Tailwind
colors: {
  custom: {
    50: '#7774cb',
    500: '#213fb3',
    950: '#000000',
  },
}
SCSS
$custom: #213fb3;
$custom-light: #7774cb;
$custom-dark: #000000;
JSON
{
  "hex": "#213fb3",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 227.671,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.18656,
    "h": 266.6
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#213FB3
secondary
#CAB566
accent
#C83CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #213FB3

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

Preview Lab → · Contrast checker → · Palette generator →

#213FB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva