#2948C0#2948C0

#2948C0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.191 H 267.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2948C0
RGBrgb(41, 72, 192)
HSLhsl(228, 65%, 46%)
HSVhsv(228, 79%, 75%)
CMYKcmyk(78.6%, 62.5%, 0%, 24.7%)
CIE-LABlab(35.81, 32.58, -65.90)
CIE-LCHlch(35.81, 73.51, 296.31°)
OKLaboklab(45.92% -0.0099 -0.1906)
OKLCHoklch(45.92% 0.191 267)
XYZxyz(12.7429, 8.9105, 50.9072)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2948C0 #C0A129
analogous
#2993C0 #2948C0 #5529C0
triadic
#2948C0 #C02948 #48C029
tetradic
#2948C0 #C02993 #C0A129 #29C055
square
#2948C0 #C02993 #C0A129 #29C055
split-complementary
#2948C0 #C05529 #93C029
monochromatic
#13225B #1E358E #2948C0 #4D6AD9 #8094E4

Accessibility & contrast

On white

7.55
#2948C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2948C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2948C0
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2948C0#FFFFFF#000000##FFFFFF
##2948C01.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2948c0;
/* rgb */ color: rgb(41, 72, 192);
/* oklch */ color: oklch(45.9% 0.191 267.0);
Tailwind
colors: {
  custom: {
    50: '#7b7ad4',
    500: '#2948c0',
    950: '#000000',
  },
}
SCSS
$custom: #2948c0;
$custom-light: #7b7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2948c0",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 227.682,
    "s": 64.807,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45918,
    "c": 0.19089,
    "h": 267
  },
  "luminance": 0.08912
}

Semantic roles & 50–950 ramp

primary
#2948C0
secondary
#CCBB78
accent
#C540E8
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2948C0

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

Preview Lab → · Contrast checker → · Palette generator →

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