#2950B6#2950B6

#2950B6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.168 H 264.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2950B6
RGBrgb(41, 80, 182)
HSLhsl(223, 63%, 44%)
HSVhsv(223, 77%, 71%)
CMYKcmyk(77.5%, 56%, 0%, 28.6%)
CIE-LABlab(37.09, 23.56, -57.94)
CIE-LCHlch(37.09, 62.55, 292.13°)
OKLaboklab(46.62% -0.0154 -0.1672)
OKLCHoklch(46.62% 0.168 264.7)
XYZxyz(12.2236, 9.5847, 45.4527)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950B6 #B68F29
analogous
#2996B6 #2950B6 #4829B6
triadic
#2950B6 #B62950 #50B629
tetradic
#2950B6 #B62996 #B68F29 #29B648
square
#2950B6 #B62996 #B68F29 #29B648
split-complementary
#2950B6 #B64829 #96B629
monochromatic
#122452 #1E3A84 #2950B6 #476ED5 #7995E1

Accessibility & contrast

On white

7.20
#2950B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2950B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950B6
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950B6#FFFFFF#000000##FFFFFF
##2950B61.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2950b6;
/* rgb */ color: rgb(41, 80, 182);
/* oklch */ color: oklch(46.6% 0.168 264.7);
Tailwind
colors: {
  custom: {
    50: '#7880cd',
    500: '#2950b6',
    950: '#000000',
  },
}
SCSS
$custom: #2950b6;
$custom-light: #7880cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2950b6",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 182
  },
  "hsl": {
    "h": 223.404,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.16788,
    "h": 264.7
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#2950B6
secondary
#C9B172
accent
#B942E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2950B6

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

Preview Lab → · Contrast checker → · Palette generator →

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