#2948A5#2948A5

#2948A5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.155 H 266.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2948A5
RGBrgb(41, 72, 165)
HSLhsl(225, 60%, 40%)
HSVhsv(225, 75%, 65%)
CMYKcmyk(75.2%, 56.4%, 0%, 35.3%)
CIE-LABlab(33.61, 22.38, -53.49)
CIE-LCHlch(33.61, 57.98, 292.70°)
OKLaboklab(43.59% -0.0105 -0.1542)
OKLCHoklch(43.59% 0.155 266.1)
XYZxyz(10.0210, 7.8217, 36.5716)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948A5 #A58629
analogous
#2986A5 #2948A5 #4829A5
triadic
#2948A5 #A52948 #48A529
tetradic
#2948A5 #A52986 #A58629 #29A548
square
#2948A5 #A52986 #A58629 #29A548
split-complementary
#2948A5 #A54829 #86A529
monochromatic
#111D43 #1D3374 #2948A5 #3D61CF #6E89DB

Accessibility & contrast

On white

8.19
#2948A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2948A5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2948A5#FFFFFF#000000##FFFFFF
##2948A51.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2948a5;
/* rgb */ color: rgb(41, 72, 165);
/* oklch */ color: oklch(43.6% 0.155 266.1);
Tailwind
colors: {
  custom: {
    50: '#757ac0',
    500: '#2948a5',
    950: '#000000',
  },
}
SCSS
$custom: #2948a5;
$custom-light: #757ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2948a5",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 225,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.15458,
    "h": 266.1
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#2948A5
secondary
#C2AB68
accent
#BC44E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2948A5

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

Preview Lab → · Contrast checker → · Palette generator →

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