#2931A9#2931A9

#2931A9 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.187 H 271.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2931A9
RGBrgb(41, 49, 169)
HSLhsl(236, 61%, 41%)
HSVhsv(236, 76%, 66%)
CMYKcmyk(75.7%, 71%, 0%, 33.7%)
CIE-LABlab(28.20, 38.83, -64.75)
CIE-LCHlch(28.20, 75.50, 300.95°)
OKLaboklab(39.71% 0.0043 -0.1874)
OKLCHoklch(39.71% 0.187 271.3)
XYZxyz(9.1718, 5.5316, 38.1128)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2931A9 #A9A129
analogous
#2971A9 #2931A9 #6129A9
triadic
#2931A9 #A92931 #31A929
tetradic
#2931A9 #A92971 #A9A129 #29A961
square
#2931A9 #A92971 #A9A129 #29A961
split-complementary
#2931A9 #A96129 #71A929
monochromatic
#111446 #1D2378 #2931A9 #3F48D0 #7077DC

Accessibility & contrast

On white

9.97
#2931A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2931A9#FFFFFF#000000##FFFFFF
##2931A91.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2931a9;
/* rgb */ color: rgb(41, 49, 169);
/* oklch */ color: oklch(39.7% 0.187 271.3);
Tailwind
colors: {
  custom: {
    50: '#786ac4',
    500: '#2931a9',
    950: '#000000',
  },
}
SCSS
$custom: #2931a9;
$custom-light: #786ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2931a9",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 236.25,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39709,
    "c": 0.18744,
    "h": 271.3
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2931A9

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

Preview Lab → · Contrast checker → · Palette generator →

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