#2143AA#2143AA

#2143AA is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.170 H 265.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2143AA
RGBrgb(33, 67, 170)
HSLhsl(225, 67%, 40%)
HSVhsv(225, 81%, 67%)
CMYKcmyk(80.6%, 60.6%, 0%, 33.3%)
CIE-LABlab(32.34, 26.77, -58.56)
CIE-LCHlch(32.34, 64.39, 294.57°)
OKLaboklab(42.68% -0.0133 -0.1693)
OKLCHoklch(42.68% 0.17 265.5)
XYZxyz(9.8875, 7.2388, 38.8985)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2143AA #AA8821
analogous
#2188AA #2143AA #4321AA
triadic
#2143AA #AA2143 #43AA21
tetradic
#2143AA #AA2188 #AA8821 #21AA43
square
#2143AA #AA2188 #AA8821 #21AA43
split-complementary
#2143AA #AA4321 #88AA21
monochromatic
#0D1B43 #172F77 #2143AA #315AD7 #6483E1

Accessibility & contrast

On white

8.58
#2143AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2143AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2143AA#FFFFFF#000000##FFFFFF
##2143AA1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2143aa;
/* rgb */ color: rgb(33, 67, 170);
/* oklch */ color: oklch(42.7% 0.170 265.5);
Tailwind
colors: {
  custom: {
    50: '#7476c4',
    500: '#2143aa',
    950: '#000000',
  },
}
SCSS
$custom: #2143aa;
$custom-light: #7476c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2143aa",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 225.109,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42678,
    "c": 0.16984,
    "h": 265.5
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#2143AA
secondary
#C6AD61
accent
#BF3DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2143AA

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

Preview Lab → · Contrast checker → · Palette generator →

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