#2974EA#2974EA

#2974EA is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.0% C 0.193 H 259.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2974EA
RGBrgb(41, 116, 234)
HSLhsl(217, 82%, 54%)
HSVhsv(217, 82%, 92%)
CMYKcmyk(82.5%, 50.4%, 0%, 8.2%)
CIE-LABlab(50.57, 20.08, -65.93)
CIE-LCHlch(50.57, 68.92, 286.94°)
OKLaboklab(58.04% -0.035 -0.19)
OKLCHoklch(58.04% 0.193 259.6)
XYZxyz(22.0057, 18.9000, 80.3142)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2974EA #EA9F29
analogous
#29D5EA #2974EA #3F29EA
triadic
#2974EA #EA2974 #74EA29
tetradic
#2974EA #EA29D5 #EA9F29 #29EA3F
square
#2974EA #EA29D5 #EA9F29 #29EA3F
split-complementary
#2974EA #EA3F29 #D5EA29
monochromatic
#0E3E8B #1357C3 #2974EA #6198EF #98BCF5

Accessibility & contrast

On white

4.39
#2974EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2974EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2974EA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2974EA#FFFFFF#000000##000000
##2974EA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EE
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2974ea;
/* rgb */ color: rgb(41, 116, 234);
/* oklch */ color: oklch(58.0% 0.193 259.6);
Tailwind
colors: {
  custom: {
    50: '#839bf1',
    500: '#2974ea',
    950: '#000000',
  },
}
SCSS
$custom: #2974ea;
$custom-light: #839bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#2974ea",
  "rgb": {
    "r": 41,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 216.684,
    "s": 82.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5804,
    "c": 0.19318,
    "h": 259.6
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#2974EA
secondary
#E1C18E
accent
#AA2FF8
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #2974EA

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

Preview Lab → · Contrast checker → · Palette generator →

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