#2931A3#2931A3

#2931A3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.180 H 271.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2931A3
RGBrgb(41, 49, 163)
HSLhsl(236, 60%, 40%)
HSVhsv(236, 75%, 64%)
CMYKcmyk(74.8%, 69.9%, 0%, 36.1%)
CIE-LABlab(27.60, 36.71, -62.10)
CIE-LCHlch(27.60, 72.14, 300.58°)
OKLaboklab(39.1% 0.0051 -0.1797)
OKLCHoklch(39.1% 0.18 271.6)
XYZxyz(8.6214, 5.3115, 35.2141)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2931A3 #A39B29
analogous
#296EA3 #2931A3 #5E29A3
triadic
#2931A3 #A32931 #31A329
tetradic
#2931A3 #A3296E #A39B29 #29A35E
square
#2931A3 #A3296E #A39B29 #29A35E
split-complementary
#2931A3 #A35E29 #6EA329
monochromatic
#101441 #1D2272 #2931A3 #3B45CE #6C73DA

Accessibility & contrast

On white

10.18
#2931A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2931A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2931A3#FFFFFF#000000##FFFFFF
##2931A31.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2931a3;
/* rgb */ color: rgb(41, 49, 163);
/* oklch */ color: oklch(39.1% 0.180 271.6);
Tailwind
colors: {
  custom: {
    50: '#766abf',
    500: '#2931a3',
    950: '#000000',
  },
}
SCSS
$custom: #2931a3;
$custom-light: #766abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2931a3",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 236.066,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.39101,
    "c": 0.17974,
    "h": 271.6
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#2931A3
secondary
#C1BB67
accent
#D945E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2931A3

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

Preview Lab → · Contrast checker → · Palette generator →

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