#2950BA#2950BA

#2950BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.173 H 265.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2950BA
RGBrgb(41, 80, 186)
HSLhsl(224, 64%, 45%)
HSVhsv(224, 78%, 73%)
CMYKcmyk(78%, 57%, 0%, 27.1%)
CIE-LABlab(37.39, 25.09, -59.80)
CIE-LCHlch(37.39, 64.84, 292.76°)
OKLaboklab(46.95% -0.0151 -0.1726)
OKLCHoklch(46.95% 0.173 265)
XYZxyz(12.6429, 9.7525, 47.6609)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950BA #BA9329
analogous
#2999BA #2950BA #4A29BA
triadic
#2950BA #BA2950 #50BA29
tetradic
#2950BA #BA2999 #BA9329 #29BA4A
square
#2950BA #BA2999 #BA9329 #29BA4A
split-complementary
#2950BA #BA4A29 #99BA29
monochromatic
#132556 #1E3A88 #2950BA #496FD7 #7B97E2

Accessibility & contrast

On white

7.12
#2950BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2950BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950BA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950BA#FFFFFF#000000##FFFFFF
##2950BA1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2950ba;
/* rgb */ color: rgb(41, 80, 186);
/* oklch */ color: oklch(46.9% 0.173 265.0);
Tailwind
colors: {
  custom: {
    50: '#7980d0',
    500: '#2950ba',
    950: '#000000',
  },
}
SCSS
$custom: #2950ba;
$custom-light: #7980d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2950ba",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 223.862,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46946,
    "c": 0.17327,
    "h": 265
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2950BA

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

Preview Lab → · Contrast checker → · Palette generator →

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