#2954B2#2954B2

#2954B2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.157 H 263.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2954B2
RGBrgb(41, 84, 178)
HSLhsl(221, 63%, 43%)
HSVhsv(221, 77%, 70%)
CMYKcmyk(77%, 52.8%, 0%, 30.2%)
CIE-LABlab(37.89, 19.38, -54.29)
CIE-LCHlch(37.89, 57.64, 289.64°)
OKLaboklab(47.13% -0.0187 -0.1563)
OKLCHoklch(47.13% 0.157 263.2)
XYZxyz(12.1178, 10.0250, 43.4072)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954B2 #B28729
analogous
#2998B2 #2954B2 #4329B2
triadic
#2954B2 #B22954 #54B229
tetradic
#2954B2 #B22998 #B28729 #29B243
square
#2954B2 #B22998 #B28729 #29B243
split-complementary
#2954B2 #B24329 #98B229
monochromatic
#12254F #1E3D80 #2954B2 #4471D4 #7697DF

Accessibility & contrast

On white

6.99
#2954B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2954B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2954B2
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954B2#FFFFFF#000000##FFFFFF
##2954B21.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2954b2;
/* rgb */ color: rgb(41, 84, 178);
/* oklch */ color: oklch(47.1% 0.157 263.2);
Tailwind
colors: {
  custom: {
    50: '#7783ca',
    500: '#2954b2',
    950: '#000000',
  },
}
SCSS
$custom: #2954b2;
$custom-light: #7783ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2954b2",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 221.168,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4713,
    "c": 0.15746,
    "h": 263.2
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#2954B2
secondary
#C7AC70
accent
#B242E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2954B2

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

Preview Lab → · Contrast checker → · Palette generator →

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