#2141C3#2141C3

#2141C3 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.6% C 0.205 H 266.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2141C3
RGBrgb(33, 65, 195)
HSLhsl(228, 71%, 45%)
HSVhsv(228, 83%, 76%)
CMYKcmyk(83.1%, 66.7%, 0%, 23.5%)
CIE-LABlab(34.07, 37.52, -70.52)
CIE-LCHlch(34.07, 79.88, 298.02°)
OKLaboklab(44.64% -0.0126 -0.2043)
OKLCHoklch(44.64% 0.205 266.5)
XYZxyz(12.3644, 8.0426, 52.5199)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2141C3 #C3A321
analogous
#2192C3 #2141C3 #5221C3
triadic
#2141C3 #C32141 #41C321
tetradic
#2141C3 #C32192 #C3A321 #21C352
square
#2141C3 #C32192 #C3A321 #21C352
split-complementary
#2141C3 #C35221 #92C321
monochromatic
#0F1E5A #18308F #2141C3 #4261DF #778DE8

Accessibility & contrast

On white

8.05
#2141C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2141C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2141C3
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2141C3#FFFFFF#000000##FFFFFF
##2141C31.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2141c3;
/* rgb */ color: rgb(33, 65, 195);
/* oklch */ color: oklch(44.6% 0.205 266.5);
Tailwind
colors: {
  custom: {
    50: '#7b75d6',
    500: '#2141c3',
    950: '#000000',
  },
}
SCSS
$custom: #2141c3;
$custom-light: #7b75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2141c3",
  "rgb": {
    "r": 33,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 228.148,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44637,
    "c": 0.20473,
    "h": 266.5
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

primary
#2141C3
secondary
#CFBD71
accent
#CA3AEE
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2141C3

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

Preview Lab → · Contrast checker → · Palette generator →

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