#2950C4#2950C4

#2950C4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.187 H 265.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2950C4
RGBrgb(41, 80, 196)
HSLhsl(225, 65%, 46%)
HSVhsv(225, 79%, 77%)
CMYKcmyk(79.1%, 59.2%, 0%, 23.1%)
CIE-LABlab(38.19, 28.87, -64.35)
CIE-LCHlch(38.19, 70.53, 294.17°)
OKLaboklab(47.79% -0.0147 -0.186)
OKLCHoklch(47.79% 0.187 265.5)
XYZxyz(13.7434, 10.1927, 53.4569)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950C4 #C49D29
analogous
#299EC4 #2950C4 #5029C4
triadic
#2950C4 #C42950 #50C429
tetradic
#2950C4 #C4299E #C49D29 #29C450
square
#2950C4 #C4299E #C49D29 #29C450
split-complementary
#2950C4 #C45029 #9EC429
monochromatic
#14275F #1E3B91 #2950C4 #5073DA #829BE5

Accessibility & contrast

On white

6.91
#2950C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2950C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2950C4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950C4#FFFFFF#000000##FFFFFF
##2950C41.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2950c4;
/* rgb */ color: rgb(41, 80, 196);
/* oklch */ color: oklch(47.8% 0.187 265.5);
Tailwind
colors: {
  custom: {
    50: '#7c80d7',
    500: '#2950c4',
    950: '#000000',
  },
}
SCSS
$custom: #2950c4;
$custom-light: #7c80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2950c4",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 196
  },
  "hsl": {
    "h": 224.903,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47787,
    "c": 0.18658,
    "h": 265.5
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#2950C4
secondary
#CEB97B
accent
#BE3FE8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2950C4

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

Preview Lab → · Contrast checker → · Palette generator →

#2950C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva