#2143A2#2143A2

#2143A2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.159 H 265.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2143A2
RGBrgb(33, 67, 162)
HSLhsl(224, 66%, 38%)
HSVhsv(224, 80%, 64%)
CMYKcmyk(79.6%, 58.6%, 0%, 36.5%)
CIE-LABlab(31.68, 23.66, -54.84)
CIE-LCHlch(31.68, 59.72, 293.34°)
OKLaboklab(41.98% -0.0135 -0.1584)
OKLCHoklch(41.98% 0.159 265.1)
XYZxyz(9.1536, 6.9452, 35.0335)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2143A2 #A28021
analogous
#2183A2 #2143A2 #3F21A2
triadic
#2143A2 #A22143 #43A221
tetradic
#2143A2 #A22183 #A28021 #21A23F
square
#2143A2 #A22183 #A28021 #21A23F
split-complementary
#2143A2 #A23F21 #83A221
monochromatic
#0C193C #172E6F #2143A2 #2C58D4 #5F81DE

Accessibility & contrast

On white

8.79
#2143A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2143A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2143A2#FFFFFF#000000##FFFFFF
##2143A21.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2143a2;
/* rgb */ color: rgb(33, 67, 162);
/* oklch */ color: oklch(42.0% 0.159 265.1);
Tailwind
colors: {
  custom: {
    50: '#7276be',
    500: '#2143a2',
    950: '#000000',
  },
}
SCSS
$custom: #2143a2;
$custom-light: #7276be;
$custom-dark: #000000;
JSON
{
  "hex": "#2143a2",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 224.186,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41976,
    "c": 0.15898,
    "h": 265.1
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2143A2

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

Preview Lab → · Contrast checker → · Palette generator →

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