#2948A2#2948A2

#2948A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.150 H 265.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2948A2
RGBrgb(41, 72, 162)
HSLhsl(225, 60%, 40%)
HSVhsv(225, 75%, 64%)
CMYKcmyk(74.7%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.38, 21.23, -52.06)
CIE-LCHlch(33.38, 56.22, 292.18°)
OKLaboklab(43.34% -0.0107 -0.15)
OKLCHoklch(43.34% 0.15 265.9)
XYZxyz(9.7511, 7.7137, 35.1504)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948A2 #A28329
analogous
#2985A2 #2948A2 #4629A2
triadic
#2948A2 #A22948 #48A229
tetradic
#2948A2 #A22985 #A28329 #29A246
square
#2948A2 #A22985 #A28329 #29A246
split-complementary
#2948A2 #A24629 #85A229
monochromatic
#101D40 #1D3271 #2948A2 #3B60CD #6C88DA

Accessibility & contrast

On white

8.26
#2948A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2948A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2948A2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2948A2#FFFFFF#000000##FFFFFF
##2948A21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2948a2;
/* rgb */ color: rgb(41, 72, 162);
/* oklch */ color: oklch(43.3% 0.150 265.9);
Tailwind
colors: {
  custom: {
    50: '#747abe',
    500: '#2948a2',
    950: '#000000',
  },
}
SCSS
$custom: #2948a2;
$custom-light: #747abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2948a2",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 224.628,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43343,
    "c": 0.15039,
    "h": 265.9
  },
  "luminance": 0.07715
}

Semantic roles & 50–950 ramp

primary
#2948A2
secondary
#C0A967
accent
#BA45E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2948A2

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

Preview Lab → · Contrast checker → · Palette generator →

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