#2143A1#2143A1

#2143A1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.158 H 265.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2143A1
RGBrgb(33, 67, 161)
HSLhsl(224, 66%, 38%)
HSVhsv(224, 80%, 63%)
CMYKcmyk(79.5%, 58.4%, 0%, 36.9%)
CIE-LABlab(31.60, 23.27, -54.37)
CIE-LCHlch(31.60, 59.14, 293.17°)
OKLaboklab(41.89% -0.0136 -0.157)
OKLCHoklch(41.89% 0.158 265)
XYZxyz(9.0651, 6.9098, 34.5673)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2143A1 #A17F21
analogous
#2183A1 #2143A1 #3F21A1
triadic
#2143A1 #A12143 #43A121
tetradic
#2143A1 #A12183 #A17F21 #21A13F
square
#2143A1 #A12183 #A17F21 #21A13F
split-complementary
#2143A1 #A13F21 #83A121
monochromatic
#0C193B #172E6E #2143A1 #2C58D4 #5E80DE

Accessibility & contrast

On white

8.82
#2143A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2143A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2143A1
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2143A1#FFFFFF#000000##FFFFFF
##2143A11.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2143a1;
/* rgb */ color: rgb(33, 67, 161);
/* oklch */ color: oklch(41.9% 0.158 265.0);
Tailwind
colors: {
  custom: {
    50: '#7276be',
    500: '#2143a1',
    950: '#000000',
  },
}
SCSS
$custom: #2143a1;
$custom-light: #7276be;
$custom-dark: #000000;
JSON
{
  "hex": "#2143a1",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 161
  },
  "hsl": {
    "h": 224.063,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4189,
    "c": 0.1576,
    "h": 265
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#2143A1
secondary
#C3A75B
accent
#BC3FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2143A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2143A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva