#2972E2#2972E2

#2972E2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.0% C 0.185 H 259.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2972E2
RGBrgb(41, 114, 226)
HSLhsl(216, 76%, 52%)
HSVhsv(216, 82%, 89%)
CMYKcmyk(81.9%, 49.6%, 0%, 11.4%)
CIE-LABlab(49.49, 18.32, -63.18)
CIE-LCHlch(49.49, 65.79, 286.17°)
OKLaboklab(57.04% -0.0347 -0.1819)
OKLCHoklch(57.04% 0.185 259.2)
XYZxyz(20.6542, 17.9945, 74.3215)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2972E2 #E29929
analogous
#29CFE2 #2972E2 #3C29E2
triadic
#2972E2 #E22972 #72E229
tetradic
#2972E2 #E229CF #E29929 #29E23C
square
#2972E2 #E229CF #E29929 #29E23C
split-complementary
#2972E2 #E23C29 #CFE229
monochromatic
#113D7F #1956B5 #2972E2 #5F96E9 #95B9F1

Accessibility & contrast

On white

4.57
#2972E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2972E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2972E2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2972E2#FFFFFF#000000##000000
##2972E21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7EE6
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2972e2;
/* rgb */ color: rgb(41, 114, 226);
/* oklch */ color: oklch(57.0% 0.185 259.2);
Tailwind
colors: {
  custom: {
    50: '#8199ec',
    500: '#2972e2',
    950: '#000000',
  },
}
SCSS
$custom: #2972e2;
$custom-light: #8199ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2972e2",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 216.324,
    "s": 76.132,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57042,
    "c": 0.18522,
    "h": 259.2
  },
  "luminance": 0.17997
}

Semantic roles & 50–950 ramp

primary
#2972E2
secondary
#DCBC8B
accent
#A835F3
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #2972E2

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

Preview Lab → · Contrast checker → · Palette generator →

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