#2931AE#2931AE

#2931AE is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.194 H 271.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2931AE
RGBrgb(41, 49, 174)
HSLhsl(236, 62%, 42%)
HSVhsv(236, 76%, 68%)
CMYKcmyk(76.4%, 71.8%, 0%, 31.8%)
CIE-LABlab(28.70, 40.57, -66.92)
CIE-LCHlch(28.70, 78.26, 301.23°)
OKLaboklab(40.22% 0.0037 -0.1937)
OKLCHoklch(40.22% 0.194 271.1)
XYZxyz(9.6502, 5.7230, 40.6323)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2931AE #AEA629
analogous
#2974AE #2931AE #6429AE
triadic
#2931AE #AE2931 #31AE29
tetradic
#2931AE #AE2974 #AEA629 #29AE64
square
#2931AE #AE2974 #AEA629 #29AE64
split-complementary
#2931AE #AE6429 #74AE29
monochromatic
#12154B #1D237C #2931AE #424AD2 #737ADE

Accessibility & contrast

On white

9.79
#2931AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2931AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2931AE#FFFFFF#000000##FFFFFF
##2931AE1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2931ae;
/* rgb */ color: rgb(41, 49, 174);
/* oklch */ color: oklch(40.2% 0.194 271.1);
Tailwind
colors: {
  custom: {
    50: '#796ac7',
    500: '#2931ae',
    950: '#000000',
  },
}
SCSS
$custom: #2931ae;
$custom-light: #796ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2931ae",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 236.391,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40222,
    "c": 0.19374,
    "h": 271.1
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#2931AE
secondary
#C5C06D
accent
#DB43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2931AE

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

Preview Lab → · Contrast checker → · Palette generator →

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