#2970EA#2970EA

#2970EA is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.2% C 0.198 H 260.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2970EA
RGBrgb(41, 112, 234)
HSLhsl(218, 82%, 54%)
HSVhsv(218, 82%, 92%)
CMYKcmyk(82.5%, 52.1%, 0%, 8.2%)
CIE-LABlab(49.49, 22.61, -67.67)
CIE-LCHlch(49.49, 71.35, 288.47°)
OKLaboklab(57.22% -0.0324 -0.1952)
OKLCHoklch(57.22% 0.198 260.6)
XYZxyz(21.5545, 17.9976, 80.1638)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2970EA #EAA329
analogous
#29D1EA #2970EA #4229EA
triadic
#2970EA #EA2970 #70EA29
tetradic
#2970EA #EA29D1 #EAA329 #29EA42
square
#2970EA #EA29D1 #EAA329 #29EA42
split-complementary
#2970EA #EA4229 #D1EA29
monochromatic
#0E3C8B #1354C3 #2970EA #6195EF #98BAF5

Accessibility & contrast

On white

4.57
#2970EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2970EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2970EA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2970EA#FFFFFF#000000##000000
##2970EA1.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)
#107FEE
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2970ea;
/* rgb */ color: rgb(41, 112, 234);
/* oklch */ color: oklch(57.2% 0.198 260.6);
Tailwind
colors: {
  custom: {
    50: '#8398f2',
    500: '#2970ea',
    950: '#000000',
  },
}
SCSS
$custom: #2970ea;
$custom-light: #8398f2;
$custom-dark: #000000;
JSON
{
  "hex": "#2970ea",
  "rgb": {
    "r": 41,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 217.927,
    "s": 82.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.19785,
    "h": 260.6
  },
  "luminance": 0.18
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2970EA

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

Preview Lab → · Contrast checker → · Palette generator →

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