#213074#213074

#213074 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.118 H 269.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#213074
RGBrgb(33, 48, 116)
HSLhsl(229, 56%, 29%)
HSVhsv(229, 72%, 45%)
CMYKcmyk(71.6%, 58.6%, 0%, 54.5%)
CIE-LABlab(22.65, 18.69, -41.02)
CIE-LCHlch(22.65, 45.08, 294.50°)
OKLaboklab(34.03% -0.0007 -0.1181)
OKLCHoklch(34.03% 0.118 269.7)
XYZxyz(4.8355, 3.6977, 16.9785)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213074 #746521
analogous
#215A74 #213074 #3C2174
triadic
#213074 #742130 #307421
tetradic
#213074 #74215A #746521 #21743C
square
#213074 #74215A #746521 #21743C
split-complementary
#213074 #743C21 #5A7421
monochromatic
#070A18 #131C44 #213074 #2F44A4 #455DCA

Accessibility & contrast

On white

12.07
#213074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#213074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213074
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213074#FFFFFF#000000##FFFFFF
##2130741.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213074;
/* rgb */ color: rgb(33, 48, 116);
/* oklch */ color: oklch(34.0% 0.118 269.7);
Tailwind
colors: {
  custom: {
    50: '#68689d',
    500: '#213074',
    950: '#000000',
  },
}
SCSS
$custom: #213074;
$custom-light: #68689d;
$custom-dark: #000000;
JSON
{
  "hex": "#213074",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 229.157,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34026,
    "c": 0.11808,
    "h": 269.7
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#213074
secondary
#A79649
accent
#C449DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213074

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

Preview Lab → · Contrast checker → · Palette generator →

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