#2950AC#2950AC

#2950AC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.154 H 264.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2950AC
RGBrgb(41, 80, 172)
HSLhsl(222, 62%, 42%)
HSVhsv(222, 76%, 67%)
CMYKcmyk(76.2%, 53.5%, 0%, 32.5%)
CIE-LABlab(36.34, 19.72, -53.24)
CIE-LCHlch(36.34, 56.78, 290.33°)
OKLaboklab(45.82% -0.0162 -0.1533)
OKLCHoklch(45.82% 0.154 264)
XYZxyz(11.2269, 9.1860, 40.2031)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950AC #AC8529
analogous
#2992AC #2950AC #4329AC
triadic
#2950AC #AC2950 #50AC29
tetradic
#2950AC #AC2992 #AC8529 #29AC43
square
#2950AC #AC2992 #AC8529 #29AC43
split-complementary
#2950AC #AC4329 #92AC29
monochromatic
#112249 #1D397B #2950AC #416CD2 #7292DD

Accessibility & contrast

On white

7.40
#2950AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2950AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950AC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950AC#FFFFFF#000000##FFFFFF
##2950AC1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2950ac;
/* rgb */ color: rgb(41, 80, 172);
/* oklch */ color: oklch(45.8% 0.154 264.0);
Tailwind
colors: {
  custom: {
    50: '#7680c5',
    500: '#2950ac',
    950: '#000000',
  },
}
SCSS
$custom: #2950ac;
$custom-light: #7680c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2950ac",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 172
  },
  "hsl": {
    "h": 222.137,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45818,
    "c": 0.15419,
    "h": 264
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#2950AC
secondary
#C5AA6C
accent
#B543E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2950AC

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

Preview Lab → · Contrast checker → · Palette generator →

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