#2950A2#2950A2

#2950A2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.140 H 262.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2950A2
RGBrgb(41, 80, 162)
HSLhsl(221, 60%, 40%)
HSVhsv(221, 75%, 64%)
CMYKcmyk(74.7%, 50.6%, 0%, 36.5%)
CIE-LABlab(35.63, 15.86, -48.42)
CIE-LCHlch(35.63, 50.96, 288.14°)
OKLaboklab(45.05% -0.0173 -0.1392)
OKLCHoklch(45.05% 0.14 262.9)
XYZxyz(10.3024, 8.8162, 35.3342)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950A2 #A27B29
analogous
#298DA2 #2950A2 #3E29A2
triadic
#2950A2 #A22950 #50A229
tetradic
#2950A2 #A2298D #A27B29 #29A23E
square
#2950A2 #A2298D #A27B29 #29A23E
split-complementary
#2950A2 #A23E29 #8DA229
monochromatic
#102040 #1D3871 #2950A2 #3B6ACD #6C8FDA

Accessibility & contrast

On white

7.60
#2950A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2950A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950A2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950A2#FFFFFF#000000##FFFFFF
##2950A21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2950a2;
/* rgb */ color: rgb(41, 80, 162);
/* oklch */ color: oklch(45.1% 0.140 262.9);
Tailwind
colors: {
  custom: {
    50: '#7480be',
    500: '#2950a2',
    950: '#000000',
  },
}
SCSS
$custom: #2950a2;
$custom-light: #7480be;
$custom-dark: #000000;
JSON
{
  "hex": "#2950a2",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 220.661,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4505,
    "c": 0.14024,
    "h": 262.9
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

primary
#2950A2
secondary
#C0A367
accent
#B045E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2950A2

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

Preview Lab → · Contrast checker → · Palette generator →

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