#2954BA#2954BA

#2954BA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.168 H 263.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2954BA
RGBrgb(41, 84, 186)
HSLhsl(222, 64%, 45%)
HSVhsv(222, 78%, 73%)
CMYKcmyk(78%, 54.8%, 0%, 27.1%)
CIE-LABlab(38.47, 22.45, -58.04)
CIE-LCHlch(38.47, 62.23, 291.14°)
OKLaboklab(47.76% -0.0179 -0.1674)
OKLCHoklch(47.76% 0.168 263.9)
XYZxyz(12.9445, 10.3557, 47.7615)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954BA #BA8F29
analogous
#299DBA #2954BA #4729BA
triadic
#2954BA #BA2954 #54BA29
tetradic
#2954BA #BA299D #BA8F29 #29BA47
square
#2954BA #BA299D #BA8F29 #29BA47
split-complementary
#2954BA #BA4729 #9DBA29
monochromatic
#132756 #1E3D88 #2954BA #4973D7 #7B9AE2

Accessibility & contrast

On white

6.84
#2954BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2954BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2954BA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954BA#FFFFFF#000000##FFFFFF
##2954BA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2954ba;
/* rgb */ color: rgb(41, 84, 186);
/* oklch */ color: oklch(47.8% 0.168 263.9);
Tailwind
colors: {
  custom: {
    50: '#7983cf',
    500: '#2954ba',
    950: '#000000',
  },
}
SCSS
$custom: #2954ba;
$custom-light: #7983cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2954ba",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 222.207,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.16835,
    "h": 263.9
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#2954BA
secondary
#CAB175
accent
#B641E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2954BA

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

Preview Lab → · Contrast checker → · Palette generator →

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