#2918A0#2918A0

#2918A0 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.199 H 274.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#2918A0
RGBrgb(41, 24, 160)
HSLhsl(248, 74%, 36%)
HSVhsv(248, 85%, 63%)
CMYKcmyk(74.4%, 85%, 0%, 37.3%)
CIE-LABlab(22.52, 49.22, -68.68)
CIE-LCHlch(22.52, 84.50, 305.63°)
OKLaboklab(35.42% 0.0166 -0.1985)
OKLCHoklch(35.42% 0.199 274.8)
XYZxyz(7.5842, 3.6620, 33.5580)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2918A0 #8FA018
analogous
#184BA0 #2918A0 #6D18A0
triadic
#2918A0 #A02918 #18A029
tetradic
#2918A0 #A0184B #8FA018 #18A06D
square
#2918A0 #A0184B #8FA018 #18A06D
split-complementary
#2918A0 #A06D18 #4BA018
monochromatic
#0E0836 #1B106B #2918A0 #3720D5 #614EE4

Accessibility & contrast

On white

12.12
#2918A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2918A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2918A0
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2918A0#FFFFFF#000000##FFFFFF
##2918A01.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#00309E
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2918a0;
/* rgb */ color: rgb(41, 24, 160);
/* oklch */ color: oklch(35.4% 0.199 274.8);
Tailwind
colors: {
  custom: {
    50: '#785bbe',
    500: '#2918a0',
    950: '#000000',
  },
}
SCSS
$custom: #2918a0;
$custom-light: #785bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2918a0",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 247.5,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.19923,
    "h": 274.8
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#2918A0
secondary
#B7C64D
accent
#F137D9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2918A0

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

Preview Lab → · Contrast checker → · Palette generator →

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