#2972EA#2972EA

#2972EA is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.196 H 260.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2972EA
RGBrgb(41, 114, 234)
HSLhsl(217, 82%, 54%)
HSVhsv(217, 82%, 92%)
CMYKcmyk(82.5%, 51.3%, 0%, 8.2%)
CIE-LABlab(50.03, 21.34, -66.80)
CIE-LCHlch(50.03, 70.13, 287.72°)
OKLaboklab(57.63% -0.0337 -0.1926)
OKLCHoklch(57.63% 0.196 260.1)
XYZxyz(21.7776, 18.4439, 80.2382)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2972EA #EAA129
analogous
#29D2EA #2972EA #4129EA
triadic
#2972EA #EA2972 #72EA29
tetradic
#2972EA #EA29D2 #EAA129 #29EA41
square
#2972EA #EA29D2 #EAA129 #29EA41
split-complementary
#2972EA #EA4129 #D2EA29
monochromatic
#0E3D8B #1356C3 #2972EA #6197EF #98BBF5

Accessibility & contrast

On white

4.48
#2972EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2972EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2972EA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2972EA#FFFFFF#000000##000000
##2972EA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C80EE
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2972ea;
/* rgb */ color: rgb(41, 114, 234);
/* oklch */ color: oklch(57.6% 0.196 260.1);
Tailwind
colors: {
  custom: {
    50: '#8399f1',
    500: '#2972ea',
    950: '#000000',
  },
}
SCSS
$custom: #2972ea;
$custom-light: #8399f1;
$custom-dark: #000000;
JSON
{
  "hex": "#2972ea",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 217.306,
    "s": 82.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.19552,
    "h": 260.1
  },
  "luminance": 0.18447
}

Semantic roles & 50–950 ramp

primary
#2972EA
secondary
#E1C18E
accent
#AC2FF8
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D17
muted
#7E7E85

Preview Lab

Preview with #2972EA

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

Preview Lab → · Contrast checker → · Palette generator →

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