#2954AD#2954AD

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

Color values

HEX#2954AD
RGBrgb(41, 84, 173)
HSLhsl(220, 62%, 42%)
HSVhsv(220, 76%, 68%)
CMYKcmyk(76.3%, 51.4%, 0%, 32.2%)
CIE-LABlab(37.53, 17.45, -51.91)
CIE-LCHlch(37.53, 54.76, 288.58°)
OKLaboklab(46.75% -0.0192 -0.1493)
OKLCHoklch(46.75% 0.151 262.7)
XYZxyz(11.6249, 9.8279, 40.8114)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954AD #AD8229
analogous
#2996AD #2954AD #4029AD
triadic
#2954AD #AD2954 #54AD29
tetradic
#2954AD #AD2996 #AD8229 #29AD40
square
#2954AD #AD2996 #AD8229 #29AD40
split-complementary
#2954AD #AD4029 #96AD29
monochromatic
#12244A #1D3C7C #2954AD #4170D2 #7396DE

Accessibility & contrast

On white

7.08
#2954AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2954AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2954AD
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954AD#FFFFFF#000000##FFFFFF
##2954AD1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB0
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2954ad;
/* rgb */ color: rgb(41, 84, 173);
/* oklch */ color: oklch(46.7% 0.151 262.7);
Tailwind
colors: {
  custom: {
    50: '#7683c6',
    500: '#2954ad',
    950: '#000000',
  },
}
SCSS
$custom: #2954ad;
$custom-light: #7683c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2954ad",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 173
  },
  "hsl": {
    "h": 220.455,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46747,
    "c": 0.15058,
    "h": 262.7
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2954AD

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

Preview Lab → · Contrast checker → · Palette generator →

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