#2143A4#2143A4

#2143A4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.162 H 265.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2143A4
RGBrgb(33, 67, 164)
HSLhsl(224, 66%, 39%)
HSVhsv(224, 80%, 64%)
CMYKcmyk(79.9%, 59.1%, 0%, 35.7%)
CIE-LABlab(31.85, 24.44, -55.78)
CIE-LCHlch(31.85, 60.90, 293.66°)
OKLaboklab(42.15% -0.0135 -0.1611)
OKLCHoklch(42.15% 0.162 265.2)
XYZxyz(9.3328, 7.0169, 35.9773)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2143A4 #A48221
analogous
#2184A4 #2143A4 #4021A4
triadic
#2143A4 #A42143 #43A421
tetradic
#2143A4 #A42184 #A48221 #21A440
square
#2143A4 #A42184 #A48221 #21A440
split-complementary
#2143A4 #A44021 #84A421
monochromatic
#0C193E #172E71 #2143A4 #2D59D5 #6081DF

Accessibility & contrast

On white

8.74
#2143A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2143A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2143A4
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2143A4#FFFFFF#000000##FFFFFF
##2143A41.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2143a4;
/* rgb */ color: rgb(33, 67, 164);
/* oklch */ color: oklch(42.1% 0.162 265.2);
Tailwind
colors: {
  custom: {
    50: '#7276c0',
    500: '#2143a4',
    950: '#000000',
  },
}
SCSS
$custom: #2143a4;
$custom-light: #7276c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2143a4",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 224.427,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.16171,
    "h": 265.2
  },
  "luminance": 0.07018
}

Semantic roles & 50–950 ramp

primary
#2143A4
secondary
#C4A95D
accent
#BD3EE9
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2143A4

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

Preview Lab → · Contrast checker → · Palette generator →

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