#2954AB#2954AB

#2954AB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.148 H 262.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2954AB
RGBrgb(41, 84, 171)
HSLhsl(220, 61%, 42%)
HSVhsv(220, 76%, 67%)
CMYKcmyk(76%, 50.9%, 0%, 32.9%)
CIE-LABlab(37.39, 16.68, -50.95)
CIE-LCHlch(37.39, 53.61, 288.13°)
OKLaboklab(46.6% -0.0195 -0.1465)
OKLCHoklch(46.6% 0.148 262.4)
XYZxyz(11.4328, 9.7511, 39.7998)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954AB #AB8029
analogous
#2995AB #2954AB #3F29AB
triadic
#2954AB #AB2954 #54AB29
tetradic
#2954AB #AB2995 #AB8029 #29AB3F
square
#2954AB #AB2995 #AB8029 #29AB3F
split-complementary
#2954AB #AB3F29 #95AB29
monochromatic
#112448 #1D3C7A #2954AB #4070D1 #7195DD

Accessibility & contrast

On white

7.12
#2954AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2954AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2954AB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954AB#FFFFFF#000000##FFFFFF
##2954AB1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2954ab;
/* rgb */ color: rgb(41, 84, 171);
/* oklch */ color: oklch(46.6% 0.148 262.4);
Tailwind
colors: {
  custom: {
    50: '#7683c5',
    500: '#2954ab',
    950: '#000000',
  },
}
SCSS
$custom: #2954ab;
$custom-light: #7683c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2954ab",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 220.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46595,
    "c": 0.1478,
    "h": 262.4
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#2954AB
secondary
#C4A76C
accent
#AF43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2954AB

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

Preview Lab → · Contrast checker → · Palette generator →

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