#2143A7#2143A7

#2143A7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.166 H 265.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2143A7
RGBrgb(33, 67, 167)
HSLhsl(225, 67%, 39%)
HSVhsv(225, 80%, 65%)
CMYKcmyk(80.2%, 59.9%, 0%, 34.5%)
CIE-LABlab(32.09, 25.61, -57.17)
CIE-LCHlch(32.09, 62.65, 294.13°)
OKLaboklab(42.41% -0.0134 -0.1652)
OKLCHoklch(42.41% 0.166 265.4)
XYZxyz(9.6069, 7.1265, 37.4210)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2143A7 #A78521
analogous
#2186A7 #2143A7 #4221A7
triadic
#2143A7 #A72143 #43A721
tetradic
#2143A7 #A72186 #A78521 #21A742
square
#2143A7 #A72186 #A78521 #21A742
split-complementary
#2143A7 #A74221 #86A721
monochromatic
#0D1A41 #172E74 #2143A7 #2F5AD6 #6282E0

Accessibility & contrast

On white

8.66
#2143A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2143A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2143A7#FFFFFF#000000##FFFFFF
##2143A71.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2143a7;
/* rgb */ color: rgb(33, 67, 167);
/* oklch */ color: oklch(42.4% 0.166 265.4);
Tailwind
colors: {
  custom: {
    50: '#7376c2',
    500: '#2143a7',
    950: '#000000',
  },
}
SCSS
$custom: #2143a7;
$custom-light: #7376c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2143a7",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 224.776,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.16579,
    "h": 265.4
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#2143A7
secondary
#C5AB5F
accent
#BE3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2143A7

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

Preview Lab → · Contrast checker → · Palette generator →

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