#2950B9#2950B9

#2950B9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.172 H 264.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2950B9
RGBrgb(41, 80, 185)
HSLhsl(224, 64%, 44%)
HSVhsv(224, 78%, 73%)
CMYKcmyk(77.8%, 56.8%, 0%, 27.5%)
CIE-LABlab(37.32, 24.71, -59.33)
CIE-LCHlch(37.32, 64.27, 292.61°)
OKLaboklab(46.86% -0.0152 -0.1713)
OKLCHoklch(46.86% 0.172 264.9)
XYZxyz(12.5370, 9.7101, 47.1030)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950B9 #B99229
analogous
#2998B9 #2950B9 #4A29B9
triadic
#2950B9 #B92950 #50B929
tetradic
#2950B9 #B92998 #B99229 #29B94A
square
#2950B9 #B92998 #B99229 #29B94A
split-complementary
#2950B9 #B94A29 #98B929
monochromatic
#132555 #1E3A87 #2950B9 #496FD7 #7B97E2

Accessibility & contrast

On white

7.14
#2950B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2950B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950B9
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950B9#FFFFFF#000000##FFFFFF
##2950B91.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2950b9;
/* rgb */ color: rgb(41, 80, 185);
/* oklch */ color: oklch(46.9% 0.172 264.9);
Tailwind
colors: {
  custom: {
    50: '#7980cf',
    500: '#2950b9',
    950: '#000000',
  },
}
SCSS
$custom: #2950b9;
$custom-light: #7980cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2950b9",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 185
  },
  "hsl": {
    "h": 223.75,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46864,
    "c": 0.17193,
    "h": 264.9
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#2950B9
secondary
#CAB374
accent
#BA41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2950B9

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

Preview Lab → · Contrast checker → · Palette generator →

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