#2948AC#2948AC

#2948AC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.164 H 266.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2948AC
RGBrgb(41, 72, 172)
HSLhsl(226, 62%, 42%)
HSVhsv(226, 76%, 67%)
CMYKcmyk(76.2%, 58.1%, 0%, 32.5%)
CIE-LABlab(34.16, 25.05, -56.79)
CIE-LCHlch(34.16, 62.07, 293.81°)
OKLaboklab(44.17% -0.0102 -0.1639)
OKLCHoklch(44.17% 0.164 266.5)
XYZxyz(10.6756, 8.0835, 40.0194)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948AC #AC8D29
analogous
#2989AC #2948AC #4C29AC
triadic
#2948AC #AC2948 #48AC29
tetradic
#2948AC #AC2989 #AC8D29 #29AC4C
square
#2948AC #AC2989 #AC8D29 #29AC4C
split-complementary
#2948AC #AC4C29 #89AC29
monochromatic
#111F49 #1D337B #2948AC #4163D2 #728BDD

Accessibility & contrast

On white

8.02
#2948AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2948AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2948AC#FFFFFF#000000##FFFFFF
##2948AC1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2948ac;
/* rgb */ color: rgb(41, 72, 172);
/* oklch */ color: oklch(44.2% 0.164 266.5);
Tailwind
colors: {
  custom: {
    50: '#777ac6',
    500: '#2948ac',
    950: '#000000',
  },
}
SCSS
$custom: #2948ac;
$custom-light: #777ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2948ac",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 225.802,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44172,
    "c": 0.16421,
    "h": 266.5
  },
  "luminance": 0.08085
}

Semantic roles & 50–950 ramp

primary
#2948AC
secondary
#C5B06C
accent
#BE43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2948AC

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

Preview Lab → · Contrast checker → · Palette generator →

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