#2954AC#2954AC

#2954AC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.149 H 262.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2954AC
RGBrgb(41, 84, 172)
HSLhsl(220, 62%, 42%)
HSVhsv(220, 76%, 67%)
CMYKcmyk(76.2%, 51.2%, 0%, 32.5%)
CIE-LABlab(37.46, 17.07, -51.43)
CIE-LCHlch(37.46, 54.18, 288.36°)
OKLaboklab(46.67% -0.0194 -0.1479)
OKLCHoklch(46.67% 0.149 262.5)
XYZxyz(11.5285, 9.7893, 40.3037)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954AC #AC8129
analogous
#2996AC #2954AC #3F29AC
triadic
#2954AC #AC2954 #54AC29
tetradic
#2954AC #AC2996 #AC8129 #29AC3F
square
#2954AC #AC2996 #AC8129 #29AC3F
split-complementary
#2954AC #AC3F29 #96AC29
monochromatic
#112449 #1D3C7B #2954AC #4170D2 #7295DD

Accessibility & contrast

On white

7.10
#2954AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2954AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2954AC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954AC#FFFFFF#000000##FFFFFF
##2954AC1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2954ac;
/* rgb */ color: rgb(41, 84, 172);
/* oklch */ color: oklch(46.7% 0.149 262.5);
Tailwind
colors: {
  custom: {
    50: '#7683c5',
    500: '#2954ac',
    950: '#000000',
  },
}
SCSS
$custom: #2954ac;
$custom-light: #7683c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2954ac",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 220.305,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46671,
    "c": 0.14919,
    "h": 262.5
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#2954AC
secondary
#C5A86C
accent
#B043E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2954AC

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

Preview Lab → · Contrast checker → · Palette generator →

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