#2931AA#2931AA

#2931AA is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.189 H 271.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2931AA
RGBrgb(41, 49, 170)
HSLhsl(236, 61%, 41%)
HSVhsv(236, 76%, 67%)
CMYKcmyk(75.9%, 71.2%, 0%, 33.3%)
CIE-LABlab(28.30, 39.18, -65.18)
CIE-LCHlch(28.30, 76.05, 301.01°)
OKLaboklab(39.81% 0.0042 -0.1887)
OKLCHoklch(39.81% 0.189 271.3)
XYZxyz(9.2660, 5.5693, 38.6091)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2931AA #AAA229
analogous
#2972AA #2931AA #6229AA
triadic
#2931AA #AA2931 #31AA29
tetradic
#2931AA #AA2972 #AAA229 #29AA62
square
#2931AA #AA2972 #AAA229 #29AA62
split-complementary
#2931AA #AA6229 #72AA29
monochromatic
#111547 #1D2379 #2931AA #3F48D1 #7177DD

Accessibility & contrast

On white

9.93
#2931AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2931AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2931AA
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2931AA#FFFFFF#000000##FFFFFF
##2931AA1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2931aa;
/* rgb */ color: rgb(41, 49, 170);
/* oklch */ color: oklch(39.8% 0.189 271.3);
Tailwind
colors: {
  custom: {
    50: '#786ac4',
    500: '#2931aa',
    950: '#000000',
  },
}
SCSS
$custom: #2931aa;
$custom-light: #786ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2931aa",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 236.279,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39811,
    "c": 0.18871,
    "h": 271.3
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#2931AA
secondary
#C4BE6B
accent
#DA44E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2931AA

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

Preview Lab → · Contrast checker → · Palette generator →

#2931AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva