#2931AF#2931AF

#2931AF is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.195 H 271.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2931AF
RGBrgb(41, 49, 175)
HSLhsl(236, 62%, 42%)
HSVhsv(236, 77%, 69%)
CMYKcmyk(76.6%, 72%, 0%, 31.4%)
CIE-LABlab(28.80, 40.92, -67.35)
CIE-LCHlch(28.80, 78.81, 301.28°)
OKLaboklab(40.33% 0.0035 -0.195)
OKLCHoklch(40.33% 0.195 271)
XYZxyz(9.7480, 5.7621, 41.1476)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2931AF #AFA729
analogous
#2974AF #2931AF #6429AF
triadic
#2931AF #AF2931 #31AF29
tetradic
#2931AF #AF2974 #AFA729 #29AF64
square
#2931AF #AF2974 #AFA729 #29AF64
split-complementary
#2931AF #AF6429 #74AF29
monochromatic
#12154C #1D237D #2931AF #424BD3 #747ADE

Accessibility & contrast

On white

9.76
#2931AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2931AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2931AF
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2931AF#FFFFFF#000000##FFFFFF
##2931AF1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2931af;
/* rgb */ color: rgb(41, 49, 175);
/* oklch */ color: oklch(40.3% 0.195 271.0);
Tailwind
colors: {
  custom: {
    50: '#796ac8',
    500: '#2931af',
    950: '#000000',
  },
}
SCSS
$custom: #2931af;
$custom-light: #796ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2931af",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 236.418,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.195,
    "h": 271
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2931AF

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

Preview Lab → · Contrast checker → · Palette generator →

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