#2918B3#2918B3

#2918B3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.7% C 0.221 H 272.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2918B3
RGBrgb(41, 24, 179)
HSLhsl(247, 76%, 40%)
HSVhsv(247, 87%, 70%)
CMYKcmyk(77.1%, 86.6%, 0%, 29.8%)
CIE-LABlab(24.88, 54.79, -76.23)
CIE-LCHlch(24.88, 93.88, 305.71°)
OKLaboklab(37.71% 0.011 -0.2204)
OKLCHoklch(37.71% 0.221 272.9)
XYZxyz(9.3751, 4.3783, 42.9901)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2918B3 #A2B318
analogous
#1854B3 #2918B3 #7718B3
triadic
#2918B3 #B32918 #18B329
tetradic
#2918B3 #B31854 #A2B318 #18B377
square
#2918B3 #B31854 #A2B318 #18B377
split-complementary
#2918B3 #B37718 #54B318
monochromatic
#100A47 #1D117D #2918B3 #3B26E2 #6C5CE9

Accessibility & contrast

On white

11.20
#2918B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2918B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2918B3
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2918B3#FFFFFF#000000##FFFFFF
##2918B31.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0034B0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2918b3;
/* rgb */ color: rgb(41, 24, 179);
/* oklch */ color: oklch(37.7% 0.221 272.9);
Tailwind
colors: {
  custom: {
    50: '#7c5ccb',
    500: '#2918b3',
    950: '#000000',
  },
}
SCSS
$custom: #2918b3;
$custom-light: #7c5ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2918b3",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 246.581,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37711,
    "c": 0.22069,
    "h": 272.9
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#2918B3
secondary
#C0CD5A
accent
#F335DE
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2918B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2918B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva