#2948AE#2948AE

#2948AE is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.167 H 266.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2948AE
RGBrgb(41, 72, 174)
HSLhsl(226, 62%, 42%)
HSVhsv(226, 76%, 68%)
CMYKcmyk(76.4%, 58.6%, 0%, 31.8%)
CIE-LABlab(34.32, 25.81, -57.72)
CIE-LCHlch(34.32, 63.23, 294.10°)
OKLaboklab(44.34% -0.0101 -0.1666)
OKLCHoklch(44.34% 0.167 266.5)
XYZxyz(10.8691, 8.1609, 41.0386)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948AE #AE8F29
analogous
#298BAE #2948AE #4D29AE
triadic
#2948AE #AE2948 #48AE29
tetradic
#2948AE #AE298B #AE8F29 #29AE4D
square
#2948AE #AE298B #AE8F29 #29AE4D
split-complementary
#2948AE #AE4D29 #8BAE29
monochromatic
#121F4B #1D347C #2948AE #4263D2 #738CDE

Accessibility & contrast

On white

7.98
#2948AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2948AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2948AE
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2948AE#FFFFFF#000000##FFFFFF
##2948AE1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2948ae;
/* rgb */ color: rgb(41, 72, 174);
/* oklch */ color: oklch(44.3% 0.167 266.5);
Tailwind
colors: {
  custom: {
    50: '#777ac7',
    500: '#2948ae',
    950: '#000000',
  },
}
SCSS
$custom: #2948ae;
$custom-light: #777ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2948ae",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 226.015,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44341,
    "c": 0.16693,
    "h": 266.5
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#2948AE
secondary
#C5B16D
accent
#BF43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2948AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2948AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva