#2950AE#2950AE

#2950AE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.157 H 264.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2950AE
RGBrgb(41, 80, 174)
HSLhsl(222, 62%, 42%)
HSVhsv(222, 76%, 68%)
CMYKcmyk(76.4%, 54%, 0%, 31.8%)
CIE-LABlab(36.49, 20.49, -54.19)
CIE-LCHlch(36.49, 57.93, 290.71°)
OKLaboklab(45.98% -0.016 -0.1561)
OKLCHoklch(45.98% 0.157 264.1)
XYZxyz(11.4204, 9.2635, 41.2223)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950AE #AE8729
analogous
#2993AE #2950AE #4529AE
triadic
#2950AE #AE2950 #50AE29
tetradic
#2950AE #AE2993 #AE8729 #29AE45
square
#2950AE #AE2993 #AE8729 #29AE45
split-complementary
#2950AE #AE4529 #93AE29
monochromatic
#12224B #1D397C #2950AE #426CD2 #7393DE

Accessibility & contrast

On white

7.36
#2950AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2950AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950AE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950AE#FFFFFF#000000##FFFFFF
##2950AE1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045CB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2950ae;
/* rgb */ color: rgb(41, 80, 174);
/* oklch */ color: oklch(46.0% 0.157 264.1);
Tailwind
colors: {
  custom: {
    50: '#7780c7',
    500: '#2950ae',
    950: '#000000',
  },
}
SCSS
$custom: #2950ae;
$custom-light: #7780c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2950ae",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 222.406,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45975,
    "c": 0.15695,
    "h": 264.1
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2950AE

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

Preview Lab → · Contrast checker → · Palette generator →

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