#2954B4#2954B4

#2954B4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.160 H 263.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2954B4
RGBrgb(41, 84, 180)
HSLhsl(221, 63%, 43%)
HSVhsv(221, 77%, 71%)
CMYKcmyk(77.2%, 53.3%, 0%, 29.4%)
CIE-LABlab(38.03, 20.15, -55.23)
CIE-LCHlch(38.03, 58.79, 290.04°)
OKLaboklab(47.29% -0.0185 -0.1591)
OKLCHoklch(47.29% 0.16 263.4)
XYZxyz(12.3201, 10.1059, 44.4725)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954B4 #B48929
analogous
#2999B4 #2954B4 #4329B4
triadic
#2954B4 #B42954 #54B429
tetradic
#2954B4 #B42999 #B48929 #29B443
square
#2954B4 #B42999 #B48929 #29B443
split-complementary
#2954B4 #B44329 #99B429
monochromatic
#122550 #1E3D82 #2954B4 #4572D5 #7798E0

Accessibility & contrast

On white

6.95
#2954B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2954B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2954B4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954B4#FFFFFF#000000##FFFFFF
##2954B41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B60B7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2954b4;
/* rgb */ color: rgb(41, 84, 180);
/* oklch */ color: oklch(47.3% 0.160 263.4);
Tailwind
colors: {
  custom: {
    50: '#7883cb',
    500: '#2954b4',
    950: '#000000',
  },
}
SCSS
$custom: #2954b4;
$custom-light: #7883cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2954b4",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 221.439,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.1602,
    "h": 263.4
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

primary
#2954B4
secondary
#C8AD71
accent
#B342E6
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2954B4

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

Preview Lab → · Contrast checker → · Palette generator →

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