#2949BA#2949BA

#2949BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.182 H 266.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2949BA
RGBrgb(41, 73, 186)
HSLhsl(227, 64%, 45%)
HSVhsv(227, 78%, 73%)
CMYKcmyk(78%, 60.8%, 0%, 27.1%)
CIE-LABlab(35.56, 29.69, -62.79)
CIE-LCHlch(35.56, 69.46, 295.31°)
OKLaboklab(45.57% -0.0105 -0.1815)
OKLCHoklch(45.57% 0.182 266.7)
XYZxyz(12.1568, 8.7803, 47.4989)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2949BA #BA9A29
analogous
#2991BA #2949BA #5229BA
triadic
#2949BA #BA2949 #49BA29
tetradic
#2949BA #BA2991 #BA9A29 #29BA52
square
#2949BA #BA2991 #BA9A29 #29BA52
split-complementary
#2949BA #BA5229 #91BA29
monochromatic
#132256 #1E3588 #2949BA #4969D7 #7B92E2

Accessibility & contrast

On white

7.62
#2949BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2949BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2949BA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2949BA#FFFFFF#000000##FFFFFF
##2949BA1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2949ba;
/* rgb */ color: rgb(41, 73, 186);
/* oklch */ color: oklch(45.6% 0.182 266.7);
Tailwind
colors: {
  custom: {
    50: '#7a7bd0',
    500: '#2949ba',
    950: '#000000',
  },
}
SCSS
$custom: #2949ba;
$custom-light: #7a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2949ba",
  "rgb": {
    "r": 41,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 226.759,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45573,
    "c": 0.18181,
    "h": 266.7
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#2949BA
secondary
#CAB775
accent
#C241E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2949BA

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

Preview Lab → · Contrast checker → · Palette generator →

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