#2143C3#2143C3

#2143C3 is a dark, highly saturated blue. Relative luminance 0.083; OKLCH L 45.0% C 0.202 H 266.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2143C3
RGBrgb(33, 67, 195)
HSLhsl(227, 71%, 45%)
HSVhsv(227, 83%, 76%)
CMYKcmyk(83.1%, 65.6%, 0%, 23.5%)
CIE-LABlab(34.55, 36.25, -69.73)
CIE-LCHlch(34.55, 78.59, 297.47°)
OKLaboklab(44.99% -0.0135 -0.202)
OKLCHoklch(44.99% 0.202 266.2)
XYZxyz(12.4812, 8.2763, 52.5588)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2143C3 #C3A121
analogous
#2194C3 #2143C3 #5021C3
triadic
#2143C3 #C32143 #43C321
tetradic
#2143C3 #C32194 #C3A121 #21C350
square
#2143C3 #C32194 #C3A121 #21C350
split-complementary
#2143C3 #C35021 #94C321
monochromatic
#0F1F5A #18318F #2143C3 #4263DF #778EE8

Accessibility & contrast

On white

7.91
#2143C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2143C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2143C3#FFFFFF#000000##FFFFFF
##2143C31.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2143c3;
/* rgb */ color: rgb(33, 67, 195);
/* oklch */ color: oklch(45.0% 0.202 266.2);
Tailwind
colors: {
  custom: {
    50: '#7a77d6',
    500: '#2143c3',
    950: '#000000',
  },
}
SCSS
$custom: #2143c3;
$custom-light: #7a77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2143c3",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 195
  },
  "hsl": {
    "h": 227.407,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44989,
    "c": 0.20247,
    "h": 266.2
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#2143C3
secondary
#CFBB71
accent
#C83AEE
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2143C3

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

Preview Lab → · Contrast checker → · Palette generator →

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