#2948AF#2948AF

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

Color values

HEX#2948AF
RGBrgb(41, 72, 175)
HSLhsl(226, 62%, 42%)
HSVhsv(226, 77%, 69%)
CMYKcmyk(76.6%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.40, 26.19, -58.18)
CIE-LCHlch(34.40, 63.81, 294.24°)
OKLaboklab(44.43% -0.01 -0.168)
OKLCHoklch(44.43% 0.168 266.6)
XYZxyz(10.9670, 8.2001, 41.5539)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948AF #AF9029
analogous
#298BAF #2948AF #4D29AF
triadic
#2948AF #AF2948 #48AF29
tetradic
#2948AF #AF298B #AF9029 #29AF4D
square
#2948AF #AF298B #AF9029 #29AF4D
split-complementary
#2948AF #AF4D29 #8BAF29
monochromatic
#121F4C #1D347D #2948AF #4264D3 #748DDE

Accessibility & contrast

On white

7.95
#2948AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2948AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2948AF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2948AF#FFFFFF#000000##FFFFFF
##2948AF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2948af;
/* rgb */ color: rgb(41, 72, 175);
/* oklch */ color: oklch(44.4% 0.168 266.6);
Tailwind
colors: {
  custom: {
    50: '#777ac8',
    500: '#2948af',
    950: '#000000',
  },
}
SCSS
$custom: #2948af;
$custom-light: #777ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2948af",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 226.119,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.16829,
    "h": 266.6
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2948AF

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

Preview Lab → · Contrast checker → · Palette generator →

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