#2950A4#2950A4

#2950A4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.143 H 263.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2950A4
RGBrgb(41, 80, 164)
HSLhsl(221, 60%, 40%)
HSVhsv(221, 75%, 64%)
CMYKcmyk(75%, 51.2%, 0%, 35.7%)
CIE-LABlab(35.77, 16.64, -49.40)
CIE-LCHlch(35.77, 52.12, 288.61°)
OKLaboklab(45.2% -0.0171 -0.142)
OKLCHoklch(45.2% 0.143 263.2)
XYZxyz(10.4816, 8.8879, 36.2779)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950A4 #A47D29
analogous
#298DA4 #2950A4 #4029A4
triadic
#2950A4 #A42950 #50A429
tetradic
#2950A4 #A4298D #A47D29 #29A440
square
#2950A4 #A4298D #A47D29 #29A440
split-complementary
#2950A4 #A44029 #8DA429
monochromatic
#112042 #1D3873 #2950A4 #3C6ACE #6D90DA

Accessibility & contrast

On white

7.56
#2950A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2950A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950A4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950A4#FFFFFF#000000##FFFFFF
##2950A41.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2950a4;
/* rgb */ color: rgb(41, 80, 164);
/* oklch */ color: oklch(45.2% 0.143 263.2);
Tailwind
colors: {
  custom: {
    50: '#7480c0',
    500: '#2950a4',
    950: '#000000',
  },
}
SCSS
$custom: #2950a4;
$custom-light: #7480c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2950a4",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 164
  },
  "hsl": {
    "h": 220.976,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.14305,
    "h": 263.2
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#2950A4
secondary
#C1A568
accent
#B145E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2950A4

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

Preview Lab → · Contrast checker → · Palette generator →

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