#2954B6#2954B6

#2954B6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.163 H 263.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2954B6
RGBrgb(41, 84, 182)
HSLhsl(222, 63%, 44%)
HSVhsv(222, 77%, 71%)
CMYKcmyk(77.5%, 53.8%, 0%, 28.6%)
CIE-LABlab(38.18, 20.92, -56.17)
CIE-LCHlch(38.18, 59.94, 290.42°)
OKLaboklab(47.44% -0.0183 -0.1619)
OKLCHoklch(47.44% 0.163 263.6)
XYZxyz(12.5253, 10.1880, 45.5533)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954B6 #B68B29
analogous
#299AB6 #2954B6 #4429B6
triadic
#2954B6 #B62954 #54B629
tetradic
#2954B6 #B6299A #B68B29 #29B644
square
#2954B6 #B6299A #B68B29 #29B644
split-complementary
#2954B6 #B64429 #9AB629
monochromatic
#122652 #1E3D84 #2954B6 #4772D5 #7998E1

Accessibility & contrast

On white

6.91
#2954B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2954B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2954B6
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954B6#FFFFFF#000000##FFFFFF
##2954B61.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0361B9
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2954b6;
/* rgb */ color: rgb(41, 84, 182);
/* oklch */ color: oklch(47.4% 0.163 263.6);
Tailwind
colors: {
  custom: {
    50: '#7883cd',
    500: '#2954b6',
    950: '#000000',
  },
}
SCSS
$custom: #2954b6;
$custom-light: #7883cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2954b6",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 182
  },
  "hsl": {
    "h": 221.702,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47443,
    "c": 0.16292,
    "h": 263.6
  },
  "luminance": 0.10189
}

Semantic roles & 50–950 ramp

primary
#2954B6
secondary
#C9AE72
accent
#B442E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2954B6

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

Preview Lab → · Contrast checker → · Palette generator →

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