#2918B4#2918B4

#2918B4 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.8% C 0.222 H 272.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2918B4
RGBrgb(41, 24, 180)
HSLhsl(247, 76%, 40%)
HSVhsv(247, 87%, 71%)
CMYKcmyk(77.2%, 86.7%, 0%, 29.4%)
CIE-LABlab(25.01, 55.08, -76.62)
CIE-LCHlch(25.01, 94.36, 305.71°)
OKLaboklab(37.83% 0.0107 -0.2215)
OKLCHoklch(37.83% 0.222 272.8)
XYZxyz(9.4766, 4.4189, 43.5247)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2918B4 #A3B418
analogous
#1855B4 #2918B4 #7718B4
triadic
#2918B4 #B42918 #18B429
tetradic
#2918B4 #B41855 #A3B418 #18B477
square
#2918B4 #B41855 #A3B418 #18B477
split-complementary
#2918B4 #B47718 #55B418
monochromatic
#100A48 #1D117E #2918B4 #3B27E2 #6C5DE9

Accessibility & contrast

On white

11.15
#2918B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2918B4
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2918B4#FFFFFF#000000##FFFFFF
##2918B41.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2918b4;
/* rgb */ color: rgb(41, 24, 180);
/* oklch */ color: oklch(37.8% 0.222 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d5ccc',
    500: '#2918b4',
    950: '#000000',
  },
}
SCSS
$custom: #2918b4;
$custom-light: #7d5ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2918b4",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 246.538,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.37833,
    "c": 0.22179,
    "h": 272.8
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2918B4

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

Preview Lab → · Contrast checker → · Palette generator →

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