#2143B4#2143B4

#2143B4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.183 H 265.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2143B4
RGBrgb(33, 67, 180)
HSLhsl(226, 69%, 42%)
HSVhsv(226, 82%, 71%)
CMYKcmyk(81.7%, 62.8%, 0%, 29.4%)
CIE-LABlab(33.20, 30.61, -63.11)
CIE-LCHlch(33.20, 70.14, 295.88°)
OKLaboklab(43.58% -0.0132 -0.1826)
OKLCHoklch(43.58% 0.183 265.9)
XYZxyz(10.8697, 7.6316, 44.0713)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2143B4 #B49221
analogous
#218DB4 #2143B4 #4821B4
triadic
#2143B4 #B42143 #43B421
tetradic
#2143B4 #B4218D #B49221 #21B448
square
#2143B4 #B4218D #B49221 #21B448
split-complementary
#2143B4 #B44821 #8DB421
monochromatic
#0E1C4D #183080 #2143B4 #385DDA #6B87E4

Accessibility & contrast

On white

8.31
#2143B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2143B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2143B4#FFFFFF#000000##FFFFFF
##2143B41.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2143b4;
/* rgb */ color: rgb(33, 67, 180);
/* oklch */ color: oklch(43.6% 0.183 265.9);
Tailwind
colors: {
  custom: {
    50: '#7676cb',
    500: '#2143b4',
    950: '#000000',
  },
}
SCSS
$custom: #2143b4;
$custom-light: #7676cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2143b4",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 180
  },
  "hsl": {
    "h": 226.122,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43582,
    "c": 0.18313,
    "h": 265.9
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#2143B4
secondary
#CAB367
accent
#C33CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2143B4

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

Preview Lab → · Contrast checker → · Palette generator →

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