#292997#292997

#292997 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.173 H 273.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#292997
RGBrgb(41, 41, 151)
HSLhsl(240, 57%, 38%)
HSVhsv(240, 73%, 59%)
CMYKcmyk(72.8%, 72.8%, 0%, 40.8%)
CIE-LABlab(24.61, 37.41, -59.71)
CIE-LCHlch(24.61, 70.46, 302.06°)
OKLaboklab(36.59% 0.0113 -0.1727)
OKLCHoklch(36.59% 0.173 273.8)
XYZxyz(7.2914, 4.2909, 29.7161)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#292997 #979729
analogous
#296097 #292997 #602997
triadic
#292997 #972929 #299729
tetradic
#292997 #972960 #979729 #299760
square
#292997 #972960 #979729 #299760
split-complementary
#292997 #976029 #609729
monochromatic
#0F0F37 #1C1C67 #292997 #3636C7 #6565D5

Accessibility & contrast

On white

11.30
#292997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#292997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #292997
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##292997#FFFFFF#000000##FFFFFF
##2929971.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #292997;
/* rgb */ color: rgb(41, 41, 151);
/* oklch */ color: oklch(36.6% 0.173 273.8);
Tailwind
colors: {
  custom: {
    50: '#7464b7',
    500: '#292997',
    950: '#000000',
  },
}
SCSS
$custom: #292997;
$custom-light: #7464b7;
$custom-dark: #000000;
JSON
{
  "hex": "#292997",
  "rgb": {
    "r": 41,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36586,
    "c": 0.17305,
    "h": 273.8
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#292997
secondary
#BBBB61
accent
#E147E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #292997

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

Preview Lab → · Contrast checker → · Palette generator →

#292997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva