#2950B1#2950B1

#2950B1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.161 H 264.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2950B1
RGBrgb(41, 80, 177)
HSLhsl(223, 62%, 43%)
HSVhsv(223, 77%, 69%)
CMYKcmyk(76.8%, 54.8%, 0%, 30.6%)
CIE-LABlab(36.71, 21.64, -55.61)
CIE-LCHlch(36.71, 59.67, 291.27°)
OKLaboklab(46.21% -0.0157 -0.1603)
OKLCHoklch(46.21% 0.161 264.4)
XYZxyz(11.7161, 9.3817, 42.7798)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950B1 #B18A29
analogous
#2994B1 #2950B1 #4629B1
triadic
#2950B1 #B12950 #50B129
tetradic
#2950B1 #B12994 #B18A29 #29B146
square
#2950B1 #B12994 #B18A29 #29B146
split-complementary
#2950B1 #B14629 #94B129
monochromatic
#12234E #1D3A7F #2950B1 #446DD4 #7594DF

Accessibility & contrast

On white

7.30
#2950B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2950B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950B1
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950B1#FFFFFF#000000##FFFFFF
##2950B11.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2950b1;
/* rgb */ color: rgb(41, 80, 177);
/* oklch */ color: oklch(46.2% 0.161 264.4);
Tailwind
colors: {
  custom: {
    50: '#7780c9',
    500: '#2950b1',
    950: '#000000',
  },
}
SCSS
$custom: #2950b1;
$custom-light: #7780c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2950b1",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 177
  },
  "hsl": {
    "h": 222.794,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46214,
    "c": 0.16107,
    "h": 264.4
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#2950B1
secondary
#C7AE6F
accent
#B742E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2950B1

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

Preview Lab → · Contrast checker → · Palette generator →

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