#2948BB#2948BB

#2948BB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.184 H 266.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2948BB
RGBrgb(41, 72, 187)
HSLhsl(227, 64%, 45%)
HSVhsv(227, 78%, 73%)
CMYKcmyk(78.1%, 61.5%, 0%, 26.7%)
CIE-LABlab(35.39, 30.72, -63.66)
CIE-LCHlch(35.39, 70.68, 295.76°)
OKLaboklab(45.47% -0.0099 -0.1841)
OKLCHoklch(45.47% 0.184 266.9)
XYZxyz(12.1983, 8.6926, 48.0390)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948BB #BB9C29
analogous
#2991BB #2948BB #5329BB
triadic
#2948BB #BB2948 #48BB29
tetradic
#2948BB #BB2991 #BB9C29 #29BB53
square
#2948BB #BB2991 #BB9C29 #29BB53
split-complementary
#2948BB #BB5329 #91BB29
monochromatic
#132157 #1E3589 #2948BB #4A68D7 #7C92E2

Accessibility & contrast

On white

7.67
#2948BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2948BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2948BB#FFFFFF#000000##FFFFFF
##2948BB1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2948bb;
/* rgb */ color: rgb(41, 72, 187);
/* oklch */ color: oklch(45.5% 0.184 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a7ad0',
    500: '#2948bb',
    950: '#000000',
  },
}
SCSS
$custom: #2948bb;
$custom-light: #7a7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2948bb",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 227.26,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45471,
    "c": 0.18433,
    "h": 266.9
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#2948BB
secondary
#CBB875
accent
#C441E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2948BB

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

Preview Lab → · Contrast checker → · Palette generator →

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