#2142A0#2142A0

#2142A0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.157 H 265.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2142A0
RGBrgb(33, 66, 160)
HSLhsl(224, 66%, 38%)
HSVhsv(224, 79%, 63%)
CMYKcmyk(79.4%, 58.8%, 0%, 37.3%)
CIE-LABlab(31.25, 23.56, -54.34)
CIE-LCHlch(31.25, 59.23, 293.44°)
OKLaboklab(41.6% -0.013 -0.1569)
OKLCHoklch(41.6% 0.157 265.3)
XYZxyz(8.9183, 6.7568, 34.0851)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2142A0 #A07F21
analogous
#2182A0 #2142A0 #3F21A0
triadic
#2142A0 #A02142 #42A021
tetradic
#2142A0 #A02182 #A07F21 #21A03F
square
#2142A0 #A02182 #A07F21 #21A03F
split-complementary
#2142A0 #A03F21 #82A021
monochromatic
#0C183B #172D6D #2142A0 #2B57D3 #5E7FDE

Accessibility & contrast

On white

8.93
#2142A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2142A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2142A0
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2142A0#FFFFFF#000000##FFFFFF
##2142A01.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2142a0;
/* rgb */ color: rgb(33, 66, 160);
/* oklch */ color: oklch(41.6% 0.157 265.3);
Tailwind
colors: {
  custom: {
    50: '#7175bd',
    500: '#2142a0',
    950: '#000000',
  },
}
SCSS
$custom: #2142a0;
$custom-light: #7175bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2142a0",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 160
  },
  "hsl": {
    "h": 224.409,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41599,
    "c": 0.15748,
    "h": 265.3
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#2142A0
secondary
#C2A75B
accent
#BD3FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2142A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2142A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva