#2950B2#2950B2

#2950B2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.162 H 264.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2950B2
RGBrgb(41, 80, 178)
HSLhsl(223, 63%, 43%)
HSVhsv(223, 77%, 70%)
CMYKcmyk(77%, 55.1%, 0%, 30.2%)
CIE-LABlab(36.78, 22.03, -56.08)
CIE-LCHlch(36.78, 60.25, 291.45°)
OKLaboklab(46.29% -0.0157 -0.1617)
OKLCHoklch(46.29% 0.162 264.5)
XYZxyz(11.8161, 9.4218, 43.3067)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950B2 #B28B29
analogous
#2994B2 #2950B2 #4729B2
triadic
#2950B2 #B22950 #50B229
tetradic
#2950B2 #B22994 #B28B29 #29B247
square
#2950B2 #B22994 #B28B29 #29B247
split-complementary
#2950B2 #B24729 #94B229
monochromatic
#12234F #1E3A80 #2950B2 #446DD4 #7694DF

Accessibility & contrast

On white

7.28
#2950B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2950B2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950B2#FFFFFF#000000##FFFFFF
##2950B21.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2950b2;
/* rgb */ color: rgb(41, 80, 178);
/* oklch */ color: oklch(46.3% 0.162 264.5);
Tailwind
colors: {
  custom: {
    50: '#7780ca',
    500: '#2950b2',
    950: '#000000',
  },
}
SCSS
$custom: #2950b2;
$custom-light: #7780ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2950b2",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 222.92,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.16244,
    "h": 264.5
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2950B2

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

Preview Lab → · Contrast checker → · Palette generator →

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