#2948BC#2948BC

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

Color values

HEX#2948BC
RGBrgb(41, 72, 188)
HSLhsl(227, 64%, 45%)
HSVhsv(227, 78%, 74%)
CMYKcmyk(78.2%, 61.7%, 0%, 26.3%)
CIE-LABlab(35.47, 31.09, -64.11)
CIE-LCHlch(35.47, 71.25, 295.87°)
OKLaboklab(45.56% -0.0099 -0.1854)
OKLCHoklch(45.56% 0.186 266.9)
XYZxyz(12.3057, 8.7356, 48.6048)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948BC #BC9D29
analogous
#2991BC #2948BC #5429BC
triadic
#2948BC #BC2948 #48BC29
tetradic
#2948BC #BC2991 #BC9D29 #29BC54
square
#2948BC #BC2991 #BC9D29 #29BC54
split-complementary
#2948BC #BC5429 #91BC29
monochromatic
#132258 #1E358A #2948BC #4B68D8 #7D92E3

Accessibility & contrast

On white

7.64
#2948BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2948BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2948BC#FFFFFF#000000##FFFFFF
##2948BC1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2948bc;
/* rgb */ color: rgb(41, 72, 188);
/* oklch */ color: oklch(45.6% 0.186 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a7ad1',
    500: '#2948bc',
    950: '#000000',
  },
}
SCSS
$custom: #2948bc;
$custom-light: #7a7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2948bc",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 227.347,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4556,
    "c": 0.18565,
    "h": 266.9
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#2948BC
secondary
#CBB976
accent
#C441E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2948BC

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

Preview Lab → · Contrast checker → · Palette generator →

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