#2937AD#2937AD

#2937AD is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.186 H 270.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2937AD
RGBrgb(41, 55, 173)
HSLhsl(234, 62%, 42%)
HSVhsv(234, 76%, 68%)
CMYKcmyk(76.3%, 68.2%, 0%, 32.2%)
CIE-LABlab(29.96, 36.52, -64.25)
CIE-LCHlch(29.96, 73.90, 299.61°)
OKLaboklab(41.1% 0.0007 -0.1859)
OKLCHoklch(41.1% 0.186 270.2)
XYZxyz(9.8209, 6.2199, 40.2100)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937AD #AD9F29
analogous
#2979AD #2937AD #5D29AD
triadic
#2937AD #AD2937 #37AD29
tetradic
#2937AD #AD2979 #AD9F29 #29AD5D
square
#2937AD #AD2979 #AD9F29 #29AD5D
split-complementary
#2937AD #AD5D29 #79AD29
monochromatic
#12184A #1D277C #2937AD #4151D2 #737EDE

Accessibility & contrast

On white

9.36
#2937AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2937AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937AD
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937AD#FFFFFF#000000##FFFFFF
##2937AD1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2937ad;
/* rgb */ color: rgb(41, 55, 173);
/* oklch */ color: oklch(41.1% 0.186 270.2);
Tailwind
colors: {
  custom: {
    50: '#786ec7',
    500: '#2937ad',
    950: '#000000',
  },
}
SCSS
$custom: #2937ad;
$custom-light: #786ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2937ad",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 233.636,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.18593,
    "h": 270.2
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#2937AD
secondary
#C5BC6D
accent
#D443E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2937AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2937AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva