#2950A1#2950A1

#2950A1 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.139 H 262.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2950A1
RGBrgb(41, 80, 161)
HSLhsl(221, 59%, 40%)
HSVhsv(221, 75%, 63%)
CMYKcmyk(74.5%, 50.3%, 0%, 36.9%)
CIE-LABlab(35.56, 15.48, -47.94)
CIE-LCHlch(35.56, 50.37, 287.89°)
OKLaboklab(44.98% -0.0174 -0.1377)
OKLCHoklch(44.98% 0.139 262.8)
XYZxyz(10.2138, 8.7808, 34.8679)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950A1 #A17A29
analogous
#298CA1 #2950A1 #3E29A1
triadic
#2950A1 #A12950 #50A129
tetradic
#2950A1 #A1298C #A17A29 #29A13E
square
#2950A1 #A1298C #A17A29 #29A13E
split-complementary
#2950A1 #A13E29 #8CA129
monochromatic
#10203F #1D3870 #2950A1 #3A6ACD #6B8FD9

Accessibility & contrast

On white

7.62
#2950A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2950A1
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950A1#FFFFFF#000000##FFFFFF
##2950A11.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2950a1;
/* rgb */ color: rgb(41, 80, 161);
/* oklch */ color: oklch(45.0% 0.139 262.8);
Tailwind
colors: {
  custom: {
    50: '#7480bd',
    500: '#2950a1',
    950: '#000000',
  },
}
SCSS
$custom: #2950a1;
$custom-light: #7480bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2950a1",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 161
  },
  "hsl": {
    "h": 220.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44975,
    "c": 0.13883,
    "h": 262.8
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#2950A1
secondary
#C0A366
accent
#AF45E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2950A1

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

Preview Lab → · Contrast checker → · Palette generator →

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