#2937A5#2937A5

#2937A5 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.175 H 270.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2937A5
RGBrgb(41, 55, 165)
HSLhsl(233, 60%, 40%)
HSVhsv(233, 75%, 65%)
CMYKcmyk(75.2%, 66.7%, 0%, 35.3%)
CIE-LABlab(29.21, 33.62, -60.68)
CIE-LCHlch(29.21, 69.37, 298.99°)
OKLaboklab(40.32% 0.0013 -0.1755)
OKLCHoklch(40.32% 0.176 270.4)
XYZxyz(9.0699, 5.9194, 36.2546)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937A5 #A59729
analogous
#2975A5 #2937A5 #5929A5
triadic
#2937A5 #A52937 #37A529
tetradic
#2937A5 #A52975 #A59729 #29A559
square
#2937A5 #A52975 #A59729 #29A559
split-complementary
#2937A5 #A55929 #75A529
monochromatic
#111643 #1D2774 #2937A5 #3D4DCF #6E7ADB

Accessibility & contrast

On white

9.62
#2937A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2937A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937A5
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937A5#FFFFFF#000000##FFFFFF
##2937A51.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2937a5;
/* rgb */ color: rgb(41, 55, 165);
/* oklch */ color: oklch(40.3% 0.175 270.4);
Tailwind
colors: {
  custom: {
    50: '#766ec1',
    500: '#2937a5',
    950: '#000000',
  },
}
SCSS
$custom: #2937a5;
$custom-light: #766ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2937a5",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 233.226,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40324,
    "c": 0.1755,
    "h": 270.4
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#2937A5
secondary
#C2B868
accent
#D144E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2937A5

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

Preview Lab → · Contrast checker → · Palette generator →

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