#2948A4#2948A4

#2948A4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.153 H 266.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2948A4
RGBrgb(41, 72, 164)
HSLhsl(225, 60%, 40%)
HSVhsv(225, 75%, 64%)
CMYKcmyk(75%, 56.1%, 0%, 35.7%)
CIE-LABlab(33.53, 21.99, -53.02)
CIE-LCHlch(33.53, 57.40, 292.53°)
OKLaboklab(43.51% -0.0106 -0.1528)
OKLCHoklch(43.51% 0.153 266)
XYZxyz(9.9303, 7.7854, 36.0941)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948A4 #A48529
analogous
#2985A4 #2948A4 #4729A4
triadic
#2948A4 #A42948 #48A429
tetradic
#2948A4 #A42985 #A48529 #29A447
square
#2948A4 #A42985 #A48529 #29A447
split-complementary
#2948A4 #A44729 #85A429
monochromatic
#111D42 #1D3373 #2948A4 #3C61CE #6D89DA

Accessibility & contrast

On white

8.21
#2948A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2948A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2948A4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2948A4#FFFFFF#000000##FFFFFF
##2948A41.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2948a4;
/* rgb */ color: rgb(41, 72, 164);
/* oklch */ color: oklch(43.5% 0.153 266.0);
Tailwind
colors: {
  custom: {
    50: '#757ac0',
    500: '#2948a4',
    950: '#000000',
  },
}
SCSS
$custom: #2948a4;
$custom-light: #757ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2948a4",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 224.878,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43506,
    "c": 0.15319,
    "h": 266
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#2948A4
secondary
#C1AB68
accent
#BB45E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2948A4

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

Preview Lab → · Contrast checker → · Palette generator →

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