#2948A6#2948A6

#2948A6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.156 H 266.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2948A6
RGBrgb(41, 72, 166)
HSLhsl(225, 60%, 41%)
HSVhsv(225, 75%, 65%)
CMYKcmyk(75.3%, 56.6%, 0%, 34.9%)
CIE-LABlab(33.69, 22.76, -53.97)
CIE-LCHlch(33.69, 58.57, 292.87°)
OKLaboklab(43.67% -0.0104 -0.1556)
OKLCHoklch(43.67% 0.156 266.2)
XYZxyz(10.1123, 7.8582, 37.0528)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948A6 #A68729
analogous
#2986A6 #2948A6 #4829A6
triadic
#2948A6 #A62948 #48A629
tetradic
#2948A6 #A62986 #A68729 #29A648
square
#2948A6 #A62986 #A68729 #29A648
split-complementary
#2948A6 #A64829 #86A629
monochromatic
#111D44 #1D3375 #2948A6 #3D61CF #6E89DB

Accessibility & contrast

On white

8.17
#2948A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2948A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2948A6
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2948A6#FFFFFF#000000##FFFFFF
##2948A61.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2948a6;
/* rgb */ color: rgb(41, 72, 166);
/* oklch */ color: oklch(43.7% 0.156 266.2);
Tailwind
colors: {
  custom: {
    50: '#757ac1',
    500: '#2948a6',
    950: '#000000',
  },
}
SCSS
$custom: #2948a6;
$custom-light: #757ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2948a6",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 225.12,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43671,
    "c": 0.15596,
    "h": 266.2
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#2948A6
secondary
#C2AC69
accent
#BC44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2948A6

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

Preview Lab → · Contrast checker → · Palette generator →

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