#2948AA#2948AA

#2948AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.161 H 266.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2948AA
RGBrgb(41, 72, 170)
HSLhsl(226, 61%, 41%)
HSVhsv(226, 76%, 67%)
CMYKcmyk(75.9%, 57.6%, 0%, 33.3%)
CIE-LABlab(34.00, 24.29, -55.85)
CIE-LCHlch(34.00, 60.90, 293.50°)
OKLaboklab(44% -0.0102 -0.1611)
OKLCHoklch(44% 0.161 266.4)
XYZxyz(10.4850, 8.0073, 39.0154)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948AA #AA8B29
analogous
#2989AA #2948AA #4B29AA
triadic
#2948AA #AA2948 #48AA29
tetradic
#2948AA #AA2989 #AA8B29 #29AA4B
square
#2948AA #AA2989 #AA8B29 #29AA4B
split-complementary
#2948AA #AA4B29 #89AA29
monochromatic
#111E47 #1D3379 #2948AA #3F62D1 #718BDD

Accessibility & contrast

On white

8.07
#2948AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2948AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2948AA#FFFFFF#000000##FFFFFF
##2948AA1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2948aa;
/* rgb */ color: rgb(41, 72, 170);
/* oklch */ color: oklch(44.0% 0.161 266.4);
Tailwind
colors: {
  custom: {
    50: '#767ac4',
    500: '#2948aa',
    950: '#000000',
  },
}
SCSS
$custom: #2948aa;
$custom-light: #767ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2948aa",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 225.581,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44003,
    "c": 0.16148,
    "h": 266.4
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#2948AA
secondary
#C4AE6B
accent
#BE44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2948AA

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

Preview Lab → · Contrast checker → · Palette generator →

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