#2948B4#2948B4

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

Color values

HEX#2948B4
RGBrgb(41, 72, 180)
HSLhsl(227, 63%, 43%)
HSVhsv(227, 77%, 71%)
CMYKcmyk(77.2%, 60%, 0%, 29.4%)
CIE-LABlab(34.80, 28.09, -60.48)
CIE-LCHlch(34.80, 66.69, 294.91°)
OKLaboklab(44.86% -0.0099 -0.1747)
OKLCHoklch(44.86% 0.175 266.7)
XYZxyz(11.4672, 8.4001, 44.1882)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948B4 #B49529
analogous
#298DB4 #2948B4 #5029B4
triadic
#2948B4 #B42948 #48B429
tetradic
#2948B4 #B4298D #B49529 #29B450
square
#2948B4 #B4298D #B49529 #29B450
split-complementary
#2948B4 #B45029 #8DB429
monochromatic
#122050 #1E3482 #2948B4 #4565D5 #778FE0

Accessibility & contrast

On white

7.84
#2948B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2948B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2948B4#FFFFFF#000000##FFFFFF
##2948B41.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2948b4;
/* rgb */ color: rgb(41, 72, 180);
/* oklch */ color: oklch(44.9% 0.175 266.7);
Tailwind
colors: {
  custom: {
    50: '#787acb',
    500: '#2948b4',
    950: '#000000',
  },
}
SCSS
$custom: #2948b4;
$custom-light: #787acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2948b4",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 226.619,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.17503,
    "h": 266.7
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2948B4

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

Preview Lab → · Contrast checker → · Palette generator →

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