#2950B3#2950B3

#2950B3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.164 H 264.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2950B3
RGBrgb(41, 80, 179)
HSLhsl(223, 63%, 43%)
HSVhsv(223, 77%, 70%)
CMYKcmyk(77.1%, 55.3%, 0%, 29.8%)
CIE-LABlab(36.86, 22.41, -56.54)
CIE-LCHlch(36.86, 60.82, 291.62°)
OKLaboklab(46.38% -0.0156 -0.1631)
OKLCHoklch(46.38% 0.164 264.5)
XYZxyz(11.9169, 9.4621, 43.8374)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950B3 #B38C29
analogous
#2995B3 #2950B3 #4729B3
triadic
#2950B3 #B32950 #50B329
tetradic
#2950B3 #B32995 #B38C29 #29B347
square
#2950B3 #B32995 #B38C29 #29B347
split-complementary
#2950B3 #B34729 #95B329
monochromatic
#12234F #1E3A81 #2950B3 #456DD4 #7794E0

Accessibility & contrast

On white

7.26
#2950B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2950B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950B3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950B3#FFFFFF#000000##FFFFFF
##2950B31.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2950b3;
/* rgb */ color: rgb(41, 80, 179);
/* oklch */ color: oklch(46.4% 0.164 264.5);
Tailwind
colors: {
  custom: {
    50: '#7880ca',
    500: '#2950b3',
    950: '#000000',
  },
}
SCSS
$custom: #2950b3;
$custom-light: #7880ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2950b3",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 223.043,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.1638,
    "h": 264.5
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#2950B3
secondary
#C7AF70
accent
#B742E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2950B3

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

Preview Lab → · Contrast checker → · Palette generator →

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