#292170#292170

#292170 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.130 H 280.3°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#292170
RGBrgb(41, 33, 112)
HSLhsl(246, 54%, 28%)
HSVhsv(246, 71%, 44%)
CMYKcmyk(63.4%, 70.5%, 0%, 56.1%)
CIE-LABlab(18.92, 28.76, -44.49)
CIE-LCHlch(18.92, 52.97, 302.88°)
OKLaboklab(31.32% 0.0234 -0.1282)
OKLCHoklch(31.32% 0.13 280.3)
XYZxyz(4.3820, 2.7287, 15.6219)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#292170 #687021
analogous
#214070 #292170 #502170
triadic
#292170 #702921 #217029
tetradic
#292170 #702140 #687021 #217050
square
#292170 #702140 #687021 #217050
split-complementary
#292170 #705021 #407021
monochromatic
#090718 #181341 #292170 #3A2F9F #5144C8

Accessibility & contrast

On white

13.59
#292170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#292170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #292170
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##292170#FFFFFF#000000##FFFFFF
##2921701.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #292170;
/* rgb */ color: rgb(41, 33, 112);
/* oklch */ color: oklch(31.3% 0.130 280.3);
Tailwind
colors: {
  custom: {
    50: '#6c5d9a',
    500: '#292170',
    950: '#000000',
  },
}
SCSS
$custom: #292170;
$custom-light: #6c5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#292170",
  "rgb": {
    "r": 41,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 246.076,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31325,
    "c": 0.13028,
    "h": 280.3
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#292170
secondary
#9AA449
accent
#DE4ACF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #292170

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

Preview Lab → · Contrast checker → · Palette generator →

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