#2948B0#2948B0

#2948B0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.170 H 266.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2948B0
RGBrgb(41, 72, 176)
HSLhsl(226, 62%, 43%)
HSVhsv(226, 77%, 69%)
CMYKcmyk(76.7%, 59.1%, 0%, 31%)
CIE-LABlab(34.48, 26.57, -58.64)
CIE-LCHlch(34.48, 64.38, 294.38°)
OKLaboklab(44.51% -0.01 -0.1693)
OKLCHoklch(44.51% 0.17 266.6)
XYZxyz(11.0655, 8.2395, 42.0731)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948B0 #B09129
analogous
#298CB0 #2948B0 #4D29B0
triadic
#2948B0 #B02948 #48B029
tetradic
#2948B0 #B0298C #B09129 #29B04D
square
#2948B0 #B0298C #B09129 #29B04D
split-complementary
#2948B0 #B04D29 #8CB029
monochromatic
#121F4D #1D347E #2948B0 #4364D3 #758DDF

Accessibility & contrast

On white

7.93
#2948B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2948B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2948B0
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2948B0#FFFFFF#000000##FFFFFF
##2948B01.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2948b0;
/* rgb */ color: rgb(41, 72, 176);
/* oklch */ color: oklch(44.5% 0.170 266.6);
Tailwind
colors: {
  custom: {
    50: '#787ac8',
    500: '#2948b0',
    950: '#000000',
  },
}
SCSS
$custom: #2948b0;
$custom-light: #787ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2948b0",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 176
  },
  "hsl": {
    "h": 226.222,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44512,
    "c": 0.16965,
    "h": 266.6
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#2948B0
secondary
#C6B26F
accent
#C043E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2948B0

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

Preview Lab → · Contrast checker → · Palette generator →

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