#2954A2#2954A2

#2954A2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.135 H 261.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2954A2
RGBrgb(41, 84, 162)
HSLhsl(219, 60%, 40%)
HSVhsv(219, 75%, 64%)
CMYKcmyk(74.7%, 48.1%, 0%, 36.5%)
CIE-LABlab(36.78, 13.20, -46.57)
CIE-LCHlch(36.78, 48.40, 285.83°)
OKLaboklab(45.93% -0.0208 -0.1336)
OKLCHoklch(45.93% 0.135 261.2)
XYZxyz(10.6040, 9.4195, 35.4347)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954A2 #A27729
analogous
#2990A2 #2954A2 #3B29A2
triadic
#2954A2 #A22954 #54A229
tetradic
#2954A2 #A22990 #A27729 #29A23B
square
#2954A2 #A22990 #A27729 #29A23B
split-complementary
#2954A2 #A23B29 #90A229
monochromatic
#102140 #1D3B71 #2954A2 #3B6FCD #6C93DA

Accessibility & contrast

On white

7.28
#2954A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2954A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2954A2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954A2#FFFFFF#000000##FFFFFF
##2954A21.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5CA5
Deuteranopia (green-blind)
#0751A0
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2954a2;
/* rgb */ color: rgb(41, 84, 162);
/* oklch */ color: oklch(45.9% 0.135 261.2);
Tailwind
colors: {
  custom: {
    50: '#7483be',
    500: '#2954a2',
    950: '#000000',
  },
}
SCSS
$custom: #2954a2;
$custom-light: #7483be;
$custom-dark: #000000;
JSON
{
  "hex": "#2954a2",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 218.678,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.13524,
    "h": 261.2
  },
  "luminance": 0.09421
}

Semantic roles & 50–950 ramp

primary
#2954A2
secondary
#C0A067
accent
#AB45E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2954A2

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

Preview Lab → · Contrast checker → · Palette generator →

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