#2931B3#2931B3

#2931B3 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.200 H 270.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2931B3
RGBrgb(41, 49, 179)
HSLhsl(237, 63%, 43%)
HSVhsv(237, 77%, 70%)
CMYKcmyk(77.1%, 72.6%, 0%, 29.8%)
CIE-LABlab(29.21, 42.30, -69.06)
CIE-LCHlch(29.21, 80.99, 301.49°)
OKLaboklab(40.74% 0.003 -0.2)
OKLCHoklch(40.74% 0.2 270.9)
XYZxyz(10.1467, 5.9216, 43.2473)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2931B3 #B3AB29
analogous
#2976B3 #2931B3 #6629B3
triadic
#2931B3 #B32931 #31B329
tetradic
#2931B3 #B32976 #B3AB29 #29B366
square
#2931B3 #B32976 #B3AB29 #29B366
split-complementary
#2931B3 #B36629 #76B329
monochromatic
#12164F #1E2381 #2931B3 #454DD4 #777DE0

Accessibility & contrast

On white

9.61
#2931B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2931B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2931B3
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2931B3#FFFFFF#000000##FFFFFF
##2931B31.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2931b3;
/* rgb */ color: rgb(41, 49, 179);
/* oklch */ color: oklch(40.7% 0.200 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a6acb',
    500: '#2931b3',
    950: '#000000',
  },
}
SCSS
$custom: #2931b3;
$custom-light: #7a6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2931b3",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 236.522,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40741,
    "c": 0.19998,
    "h": 270.9
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#2931B3
secondary
#C7C270
accent
#DC42E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2931B3

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

Preview Lab → · Contrast checker → · Palette generator →

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