#2948B3#2948B3

#2948B3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.174 H 266.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2948B3
RGBrgb(41, 72, 179)
HSLhsl(227, 63%, 43%)
HSVhsv(227, 77%, 70%)
CMYKcmyk(77.1%, 59.8%, 0%, 29.8%)
CIE-LABlab(34.72, 27.71, -60.02)
CIE-LCHlch(34.72, 66.11, 294.78°)
OKLaboklab(44.77% -0.0099 -0.1734)
OKLCHoklch(44.77% 0.174 266.7)
XYZxyz(11.3657, 8.3595, 43.6536)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948B3 #B39429
analogous
#298DB3 #2948B3 #4F29B3
triadic
#2948B3 #B32948 #48B329
tetradic
#2948B3 #B3298D #B39429 #29B34F
square
#2948B3 #B3298D #B39429 #29B34F
split-complementary
#2948B3 #B34F29 #8DB329
monochromatic
#12204F #1E3481 #2948B3 #4565D4 #778EE0

Accessibility & contrast

On white

7.86
#2948B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2948B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2948B3#FFFFFF#000000##FFFFFF
##2948B31.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2948b3;
/* rgb */ color: rgb(41, 72, 179);
/* oklch */ color: oklch(44.8% 0.174 266.7);
Tailwind
colors: {
  custom: {
    50: '#787acb',
    500: '#2948b3',
    950: '#000000',
  },
}
SCSS
$custom: #2948b3;
$custom-light: #787acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2948b3",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 226.522,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4477,
    "c": 0.1737,
    "h": 266.7
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#2948B3
secondary
#C7B470
accent
#C142E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2948B3

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

Preview Lab → · Contrast checker → · Palette generator →

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