#2141AE#2141AE

#2141AE is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.178 H 266.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2141AE
RGBrgb(33, 65, 174)
HSLhsl(226, 68%, 41%)
HSVhsv(226, 81%, 68%)
CMYKcmyk(81%, 62.6%, 0%, 31.8%)
CIE-LABlab(32.17, 29.64, -61.24)
CIE-LCHlch(32.17, 68.04, 295.83°)
OKLaboklab(42.65% -0.0121 -0.1772)
OKLCHoklch(42.65% 0.178 266.1)
XYZxyz(10.1548, 7.1587, 40.8828)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2141AE #AE8E21
analogous
#2187AE #2141AE #4721AE
triadic
#2141AE #AE2141 #41AE21
tetradic
#2141AE #AE2187 #AE8E21 #21AE47
square
#2141AE #AE2187 #AE8E21 #21AE47
split-complementary
#2141AE #AE4721 #87AE21
monochromatic
#0D1B47 #172E7B #2141AE #3459D8 #6783E2

Accessibility & contrast

On white

8.63
#2141AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2141AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2141AE
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2141AE#FFFFFF#000000##FFFFFF
##2141AE1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2141ae;
/* rgb */ color: rgb(33, 65, 174);
/* oklch */ color: oklch(42.7% 0.178 266.1);
Tailwind
colors: {
  custom: {
    50: '#7575c7',
    500: '#2141ae',
    950: '#000000',
  },
}
SCSS
$custom: #2141ae;
$custom-light: #7575c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2141ae",
  "rgb": {
    "r": 33,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 226.383,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42651,
    "c": 0.17762,
    "h": 266.1
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#2141AE
secondary
#C8B163
accent
#C33DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2141AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2141AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva