#2954BD#2954BD

#2954BD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.172 H 264.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2954BD
RGBrgb(41, 84, 189)
HSLhsl(223, 64%, 45%)
HSVhsv(223, 78%, 74%)
CMYKcmyk(78.3%, 55.6%, 0%, 25.9%)
CIE-LABlab(38.70, 23.60, -59.43)
CIE-LCHlch(38.70, 63.95, 291.65°)
OKLaboklab(48% -0.0177 -0.1715)
OKLCHoklch(48% 0.172 264.1)
XYZxyz(13.2668, 10.4847, 49.4588)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954BD #BD9229
analogous
#299EBD #2954BD #4829BD
triadic
#2954BD #BD2954 #54BD29
tetradic
#2954BD #BD299E #BD9229 #29BD48
square
#2954BD #BD299E #BD9229 #29BD48
split-complementary
#2954BD #BD4829 #9EBD29
monochromatic
#132758 #1E3E8B #2954BD #4B74D8 #7D9BE3

Accessibility & contrast

On white

6.78
#2954BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2954BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2954BD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954BD#FFFFFF#000000##FFFFFF
##2954BD1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2954bd;
/* rgb */ color: rgb(41, 84, 189);
/* oklch */ color: oklch(48.0% 0.172 264.1);
Tailwind
colors: {
  custom: {
    50: '#7a83d2',
    500: '#2954bd',
    950: '#000000',
  },
}
SCSS
$custom: #2954bd;
$custom-light: #7a83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2954bd",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 222.568,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.17239,
    "h": 264.1
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#2954BD
secondary
#CBB377
accent
#B740E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2954BD

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

Preview Lab → · Contrast checker → · Palette generator →

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