#2954AF#2954AF

#2954AF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.153 H 262.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2954AF
RGBrgb(41, 84, 175)
HSLhsl(221, 62%, 42%)
HSVhsv(221, 77%, 69%)
CMYKcmyk(76.6%, 52%, 0%, 31.4%)
CIE-LABlab(37.67, 18.22, -52.86)
CIE-LCHlch(37.67, 55.91, 289.02°)
OKLaboklab(46.9% -0.019 -0.1521)
OKLCHoklch(46.9% 0.153 262.9)
XYZxyz(11.8199, 9.9059, 41.8382)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954AF #AF8429
analogous
#2997AF #2954AF #4129AF
triadic
#2954AF #AF2954 #54AF29
tetradic
#2954AF #AF2997 #AF8429 #29AF41
square
#2954AF #AF2997 #AF8429 #29AF41
split-complementary
#2954AF #AF4129 #97AF29
monochromatic
#12244C #1D3C7D #2954AF #4271D3 #7496DE

Accessibility & contrast

On white

7.04
#2954AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2954AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2954AF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954AF#FFFFFF#000000##FFFFFF
##2954AF1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2954af;
/* rgb */ color: rgb(41, 84, 175);
/* oklch */ color: oklch(46.9% 0.153 262.9);
Tailwind
colors: {
  custom: {
    50: '#7783c7',
    500: '#2954af',
    950: '#000000',
  },
}
SCSS
$custom: #2954af;
$custom-light: #7783c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2954af",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 220.746,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46899,
    "c": 0.15333,
    "h": 262.9
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#2954AF
secondary
#C6AA6E
accent
#B143E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2954AF

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

Preview Lab → · Contrast checker → · Palette generator →

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