#2937A3#2937A3

#2937A3 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.173 H 270.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2937A3
RGBrgb(41, 55, 163)
HSLhsl(233, 60%, 40%)
HSVhsv(233, 75%, 64%)
CMYKcmyk(74.8%, 66.3%, 0%, 36.1%)
CIE-LABlab(29.02, 32.89, -59.77)
CIE-LCHlch(29.02, 68.22, 298.82°)
OKLaboklab(40.13% 0.0015 -0.1728)
OKLCHoklch(40.13% 0.173 270.5)
XYZxyz(8.8892, 5.8472, 35.3034)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937A3 #A39529
analogous
#2974A3 #2937A3 #5829A3
triadic
#2937A3 #A32937 #37A329
tetradic
#2937A3 #A32974 #A39529 #29A358
square
#2937A3 #A32974 #A39529 #29A358
split-complementary
#2937A3 #A35829 #74A329
monochromatic
#101641 #1D2672 #2937A3 #3B4CCE #6C79DA

Accessibility & contrast

On white

9.68
#2937A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2937A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937A3
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937A3#FFFFFF#000000##FFFFFF
##2937A31.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2937a3;
/* rgb */ color: rgb(41, 55, 163);
/* oklch */ color: oklch(40.1% 0.173 270.5);
Tailwind
colors: {
  custom: {
    50: '#766ebf',
    500: '#2937a3',
    950: '#000000',
  },
}
SCSS
$custom: #2937a3;
$custom-light: #766ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2937a3",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 233.115,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.40132,
    "c": 0.17285,
    "h": 270.5
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#2937A3
secondary
#C1B667
accent
#D145E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2937A3

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

Preview Lab → · Contrast checker → · Palette generator →

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