#2971EA#2971EA

#2971EA is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.197 H 260.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2971EA
RGBrgb(41, 113, 234)
HSLhsl(218, 82%, 54%)
HSVhsv(218, 82%, 92%)
CMYKcmyk(82.5%, 51.7%, 0%, 8.2%)
CIE-LABlab(49.76, 21.98, -67.24)
CIE-LCHlch(49.76, 70.74, 288.10°)
OKLaboklab(57.42% -0.033 -0.1939)
OKLCHoklch(57.42% 0.197 260.3)
XYZxyz(21.6654, 18.2195, 80.2008)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2971EA #EAA229
analogous
#29D1EA #2971EA #4229EA
triadic
#2971EA #EA2971 #71EA29
tetradic
#2971EA #EA29D1 #EAA229 #29EA42
square
#2971EA #EA29D1 #EAA229 #29EA42
split-complementary
#2971EA #EA4229 #D1EA29
monochromatic
#0E3C8B #1355C3 #2971EA #6196EF #98BBF5

Accessibility & contrast

On white

4.52
#2971EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2971EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2971EA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2971EA#FFFFFF#000000##000000
##2971EA1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#177FEE
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2971ea;
/* rgb */ color: rgb(41, 113, 234);
/* oklch */ color: oklch(57.4% 0.197 260.3);
Tailwind
colors: {
  custom: {
    50: '#8399f2',
    500: '#2971ea',
    950: '#000000',
  },
}
SCSS
$custom: #2971ea;
$custom-light: #8399f2;
$custom-dark: #000000;
JSON
{
  "hex": "#2971ea",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 217.617,
    "s": 82.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.19669,
    "h": 260.3
  },
  "luminance": 0.18222
}

Semantic roles & 50–950 ramp

primary
#2971EA
secondary
#E1C28E
accent
#AD2FF8
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D17
muted
#7E7E85

Preview Lab

Preview with #2971EA

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

Preview Lab → · Contrast checker → · Palette generator →

#2971EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva