#2931A8#2931A8

#2931A8 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.186 H 271.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2931A8
RGBrgb(41, 49, 168)
HSLhsl(236, 61%, 41%)
HSVhsv(236, 76%, 66%)
CMYKcmyk(75.6%, 70.8%, 0%, 34.1%)
CIE-LABlab(28.10, 38.47, -64.31)
CIE-LCHlch(28.10, 74.94, 300.89°)
OKLaboklab(39.61% 0.0045 -0.1861)
OKLCHoklch(39.61% 0.186 271.4)
XYZxyz(9.0783, 5.4942, 37.6202)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2931A8 #A8A029
analogous
#2970A8 #2931A8 #6029A8
triadic
#2931A8 #A82931 #31A829
tetradic
#2931A8 #A82970 #A8A029 #29A860
square
#2931A8 #A82970 #A8A029 #29A860
split-complementary
#2931A8 #A86029 #70A829
monochromatic
#111446 #1D2377 #2931A8 #3E47D0 #6F76DC

Accessibility & contrast

On white

10.00
#2931A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2931A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2931A8
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2931A8#FFFFFF#000000##FFFFFF
##2931A81.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2931a8;
/* rgb */ color: rgb(41, 49, 168);
/* oklch */ color: oklch(39.6% 0.186 271.4);
Tailwind
colors: {
  custom: {
    50: '#786ac3',
    500: '#2931a8',
    950: '#000000',
  },
}
SCSS
$custom: #2931a8;
$custom-light: #786ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2931a8",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 236.22,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39607,
    "c": 0.18616,
    "h": 271.4
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2931A8

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

Preview Lab → · Contrast checker → · Palette generator →

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