#2141A2#2141A2

#2141A2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.161 H 265.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2141A2
RGBrgb(33, 65, 162)
HSLhsl(225, 66%, 38%)
HSVhsv(225, 80%, 64%)
CMYKcmyk(79.6%, 59.9%, 0%, 36.5%)
CIE-LABlab(31.14, 25.01, -55.72)
CIE-LCHlch(31.14, 61.08, 294.18°)
OKLaboklab(41.57% -0.0122 -0.161)
OKLCHoklch(41.57% 0.161 265.7)
XYZxyz(9.0368, 6.7115, 34.9946)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2141A2 #A28221
analogous
#2181A2 #2141A2 #4121A2
triadic
#2141A2 #A22141 #41A221
tetradic
#2141A2 #A22181 #A28221 #21A241
square
#2141A2 #A22181 #A28221 #21A241
split-complementary
#2141A2 #A24121 #81A221
monochromatic
#0C183C #172D6F #2141A2 #2C56D4 #5F7FDE

Accessibility & contrast

On white

8.96
#2141A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2141A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2141A2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2141A2#FFFFFF#000000##FFFFFF
##2141A21.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2141a2;
/* rgb */ color: rgb(33, 65, 162);
/* oklch */ color: oklch(41.6% 0.161 265.7);
Tailwind
colors: {
  custom: {
    50: '#7275be',
    500: '#2141a2',
    950: '#000000',
  },
}
SCSS
$custom: #2141a2;
$custom-light: #7275be;
$custom-dark: #000000;
JSON
{
  "hex": "#2141a2",
  "rgb": {
    "r": 33,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 225.116,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.16148,
    "h": 265.7
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#2141A2
secondary
#C3A95C
accent
#BF3FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2141A2

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

Preview Lab → · Contrast checker → · Palette generator →

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