#2954BC#2954BC

#2954BC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.171 H 264.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2954BC
RGBrgb(41, 84, 188)
HSLhsl(222, 64%, 45%)
HSVhsv(222, 78%, 74%)
CMYKcmyk(78.2%, 55.3%, 0%, 26.3%)
CIE-LABlab(38.62, 23.21, -58.97)
CIE-LCHlch(38.62, 63.38, 291.49°)
OKLaboklab(47.92% -0.0178 -0.1701)
OKLCHoklch(47.92% 0.171 264)
XYZxyz(13.1586, 10.4414, 48.8891)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954BC #BC9129
analogous
#299DBC #2954BC #4829BC
triadic
#2954BC #BC2954 #54BC29
tetradic
#2954BC #BC299D #BC9129 #29BC48
square
#2954BC #BC299D #BC9129 #29BC48
split-complementary
#2954BC #BC4829 #9DBC29
monochromatic
#132758 #1E3E8A #2954BC #4B74D8 #7D9BE3

Accessibility & contrast

On white

6.80
#2954BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2954BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2954BC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954BC#FFFFFF#000000##FFFFFF
##2954BC1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2954bc;
/* rgb */ color: rgb(41, 84, 188);
/* oklch */ color: oklch(47.9% 0.171 264.0);
Tailwind
colors: {
  custom: {
    50: '#7a83d1',
    500: '#2954bc',
    950: '#000000',
  },
}
SCSS
$custom: #2954bc;
$custom-light: #7a83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2954bc",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 222.449,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4792,
    "c": 0.17105,
    "h": 264
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2954BC

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

Preview Lab → · Contrast checker → · Palette generator →

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