#2931A6#2931A6

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

Color values

HEX#2931A6
RGBrgb(41, 49, 166)
HSLhsl(236, 60%, 41%)
HSVhsv(236, 75%, 65%)
CMYKcmyk(75.3%, 70.5%, 0%, 34.9%)
CIE-LABlab(27.90, 37.77, -63.43)
CIE-LCHlch(27.90, 73.82, 300.77°)
OKLaboklab(39.4% 0.0047 -0.1835)
OKLCHoklch(39.4% 0.184 271.5)
XYZxyz(8.8934, 5.4203, 36.6465)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2931A6 #A69E29
analogous
#296FA6 #2931A6 #5F29A6
triadic
#2931A6 #A62931 #31A629
tetradic
#2931A6 #A6296F #A69E29 #29A65F
square
#2931A6 #A6296F #A69E29 #29A65F
split-complementary
#2931A6 #A65F29 #6FA629
monochromatic
#111444 #1D2375 #2931A6 #3D46CF #6E75DB

Accessibility & contrast

On white

10.08
#2931A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2931A6#FFFFFF#000000##FFFFFF
##2931A61.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2931a6;
/* rgb */ color: rgb(41, 49, 166);
/* oklch */ color: oklch(39.4% 0.184 271.5);
Tailwind
colors: {
  custom: {
    50: '#776ac2',
    500: '#2931a6',
    950: '#000000',
  },
}
SCSS
$custom: #2931a6;
$custom-light: #776ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2931a6",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 236.16,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39404,
    "c": 0.18361,
    "h": 271.5
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#2931A6
secondary
#C2BC69
accent
#D944E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2931A6

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

Preview Lab → · Contrast checker → · Palette generator →

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