#2143A6#2143A6

#2143A6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.164 H 265.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2143A6
RGBrgb(33, 67, 166)
HSLhsl(225, 67%, 39%)
HSVhsv(225, 80%, 65%)
CMYKcmyk(80.1%, 59.6%, 0%, 34.9%)
CIE-LABlab(32.01, 25.22, -56.71)
CIE-LCHlch(32.01, 62.06, 293.98°)
OKLaboklab(42.32% -0.0134 -0.1639)
OKLCHoklch(42.32% 0.164 265.3)
XYZxyz(9.5149, 7.0897, 36.9360)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2143A6 #A68421
analogous
#2186A6 #2143A6 #4221A6
triadic
#2143A6 #A62143 #43A621
tetradic
#2143A6 #A62186 #A68421 #21A642
square
#2143A6 #A62186 #A68421 #21A642
split-complementary
#2143A6 #A64221 #86A621
monochromatic
#0D1A40 #172E73 #2143A6 #2F59D6 #6282E0

Accessibility & contrast

On white

8.68
#2143A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2143A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2143A6#FFFFFF#000000##FFFFFF
##2143A61.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2143a6;
/* rgb */ color: rgb(33, 67, 166);
/* oklch */ color: oklch(42.3% 0.164 265.3);
Tailwind
colors: {
  custom: {
    50: '#7376c1',
    500: '#2143a6',
    950: '#000000',
  },
}
SCSS
$custom: #2143a6;
$custom-light: #7376c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2143a6",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 166
  },
  "hsl": {
    "h": 224.662,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42324,
    "c": 0.16444,
    "h": 265.3
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2143A6

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

Preview Lab → · Contrast checker → · Palette generator →

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