#2931A5#2931A5

#2931A5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.182 H 271.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2931A5
RGBrgb(41, 49, 165)
HSLhsl(236, 60%, 40%)
HSVhsv(236, 75%, 65%)
CMYKcmyk(75.2%, 70.3%, 0%, 35.3%)
CIE-LABlab(27.80, 37.42, -62.99)
CIE-LCHlch(27.80, 73.26, 300.71°)
OKLaboklab(39.3% 0.0048 -0.1823)
OKLCHoklch(39.3% 0.182 271.5)
XYZxyz(8.8020, 5.3837, 36.1653)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2931A5 #A59D29
analogous
#296FA5 #2931A5 #5F29A5
triadic
#2931A5 #A52931 #31A529
tetradic
#2931A5 #A5296F #A59D29 #29A55F
square
#2931A5 #A5296F #A59D29 #29A55F
split-complementary
#2931A5 #A55F29 #6FA529
monochromatic
#111443 #1D2274 #2931A5 #3D46CF #6E75DB

Accessibility & contrast

On white

10.11
#2931A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2931A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2931A5#FFFFFF#000000##FFFFFF
##2931A51.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2931a5;
/* rgb */ color: rgb(41, 49, 165);
/* oklch */ color: oklch(39.3% 0.182 271.5);
Tailwind
colors: {
  custom: {
    50: '#776ac1',
    500: '#2931a5',
    950: '#000000',
  },
}
SCSS
$custom: #2931a5;
$custom-light: #776ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2931a5",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 236.129,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39303,
    "c": 0.18232,
    "h": 271.5
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#2931A5
secondary
#C2BC68
accent
#D944E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2931A5

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

Preview Lab → · Contrast checker → · Palette generator →

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