#2950B0#2950B0

#2950B0 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.160 H 264.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2950B0
RGBrgb(41, 80, 176)
HSLhsl(223, 62%, 43%)
HSVhsv(223, 77%, 69%)
CMYKcmyk(76.7%, 54.5%, 0%, 31%)
CIE-LABlab(36.63, 21.26, -55.14)
CIE-LCHlch(36.63, 59.09, 291.09°)
OKLaboklab(46.13% -0.0158 -0.1589)
OKLCHoklch(46.13% 0.16 264.3)
XYZxyz(11.6168, 9.3420, 42.2568)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950B0 #B08929
analogous
#2993B0 #2950B0 #4629B0
triadic
#2950B0 #B02950 #50B029
tetradic
#2950B0 #B02993 #B08929 #29B046
square
#2950B0 #B02993 #B08929 #29B046
split-complementary
#2950B0 #B04629 #93B029
monochromatic
#12234D #1D397E #2950B0 #436DD3 #7593DF

Accessibility & contrast

On white

7.32
#2950B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2950B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950B0
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950B0#FFFFFF#000000##FFFFFF
##2950B01.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2950b0;
/* rgb */ color: rgb(41, 80, 176);
/* oklch */ color: oklch(46.1% 0.160 264.3);
Tailwind
colors: {
  custom: {
    50: '#7780c8',
    500: '#2950b0',
    950: '#000000',
  },
}
SCSS
$custom: #2950b0;
$custom-light: #7780c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2950b0",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 176
  },
  "hsl": {
    "h": 222.667,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46134,
    "c": 0.1597,
    "h": 264.3
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#2950B0
secondary
#C6AD6F
accent
#B643E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2950B0

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

Preview Lab → · Contrast checker → · Palette generator →

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