#213BAF#213BAF

#213BAF is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.186 H 267.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#213BAF
RGBrgb(33, 59, 175)
HSLhsl(229, 68%, 41%)
HSVhsv(229, 81%, 69%)
CMYKcmyk(81.1%, 66.3%, 0%, 31.4%)
CIE-LABlab(30.75, 33.96, -64.16)
CIE-LCHlch(30.75, 72.60, 297.89°)
OKLaboklab(41.63% -0.0089 -0.1858)
OKLCHoklch(41.63% 0.186 267.3)
XYZxyz(9.9263, 6.5452, 41.2893)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213BAF #AF9521
analogous
#2182AF #213BAF #4E21AF
triadic
#213BAF #AF213B #3BAF21
tetradic
#213BAF #AF2182 #AF9521 #21AF4E
square
#213BAF #AF2182 #AF9521 #21AF4E
split-complementary
#213BAF #AF4E21 #82AF21
monochromatic
#0E1848 #172A7C #213BAF #3453D9 #687EE3

Accessibility & contrast

On white

9.09
#213BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#213BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213BAF
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213BAF#FFFFFF#000000##FFFFFF
##213BAF1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #213baf;
/* rgb */ color: rgb(33, 59, 175);
/* oklch */ color: oklch(41.6% 0.186 267.3);
Tailwind
colors: {
  custom: {
    50: '#7671c8',
    500: '#213baf',
    950: '#000000',
  },
}
SCSS
$custom: #213baf;
$custom-light: #7671c8;
$custom-dark: #000000;
JSON
{
  "hex": "#213baf",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 229.014,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41634,
    "c": 0.18602,
    "h": 267.3
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#213BAF
secondary
#C8B664
accent
#CB3DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #213BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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