#2954A0#2954A0

#2954A0 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.132 H 260.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2954A0
RGBrgb(41, 84, 160)
HSLhsl(218, 59%, 39%)
HSVhsv(218, 74%, 63%)
CMYKcmyk(74.4%, 47.5%, 0%, 37.3%)
CIE-LABlab(36.65, 12.43, -45.58)
CIE-LCHlch(36.65, 47.25, 285.25°)
OKLaboklab(45.79% -0.0211 -0.1307)
OKLCHoklch(45.79% 0.132 260.8)
XYZxyz(10.4277, 9.3490, 34.5059)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954A0 #A07529
analogous
#2990A0 #2954A0 #3929A0
triadic
#2954A0 #A02954 #54A029
tetradic
#2954A0 #A02990 #A07529 #29A039
square
#2954A0 #A02990 #A07529 #29A039
split-complementary
#2954A0 #A03929 #90A029
monochromatic
#10213F #1D3A6F #2954A0 #3A6FCC #6A92D9

Accessibility & contrast

On white

7.32
#2954A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2954A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2954A0
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954A0#FFFFFF#000000##FFFFFF
##2954A01.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA3
Deuteranopia (green-blind)
#0E519E
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2954a0;
/* rgb */ color: rgb(41, 84, 160);
/* oklch */ color: oklch(45.8% 0.132 260.8);
Tailwind
colors: {
  custom: {
    50: '#7383bd',
    500: '#2954a0',
    950: '#000000',
  },
}
SCSS
$custom: #2954a0;
$custom-light: #7383bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2954a0",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 160
  },
  "hsl": {
    "h": 218.319,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.13243,
    "h": 260.8
  },
  "luminance": 0.0935
}

Semantic roles & 50–950 ramp

primary
#2954A0
secondary
#BF9F65
accent
#AA45E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2954A0

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

Preview Lab → · Contrast checker → · Palette generator →

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