#213274#213274

#213274 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.115 H 268.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#213274
RGBrgb(33, 50, 116)
HSLhsl(228, 56%, 29%)
HSVhsv(228, 72%, 45%)
CMYKcmyk(71.6%, 56.9%, 0%, 54.5%)
CIE-LABlab(23.22, 17.28, -40.09)
CIE-LCHlch(23.22, 43.65, 293.32°)
OKLaboklab(34.46% -0.0026 -0.1153)
OKLCHoklch(34.46% 0.115 268.7)
XYZxyz(4.9191, 3.8650, 17.0064)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213274 #746321
analogous
#215C74 #213274 #3A2174
triadic
#213274 #742132 #327421
tetradic
#213274 #74215C #746321 #21743A
square
#213274 #74215C #746321 #21743A
split-complementary
#213274 #743A21 #5C7421
monochromatic
#070A18 #131D44 #213274 #2F47A4 #4560CA

Accessibility & contrast

On white

11.84
#213274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#213274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213274
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213274#FFFFFF#000000##FFFFFF
##2132741.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213274;
/* rgb */ color: rgb(33, 50, 116);
/* oklch */ color: oklch(34.5% 0.115 268.7);
Tailwind
colors: {
  custom: {
    50: '#68699d',
    500: '#213274',
    950: '#000000',
  },
}
SCSS
$custom: #213274;
$custom-light: #68699d;
$custom-dark: #000000;
JSON
{
  "hex": "#213274",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 227.711,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34457,
    "c": 0.11534,
    "h": 268.7
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#213274
secondary
#A79449
accent
#C049DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213274

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

Preview Lab → · Contrast checker → · Palette generator →

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