#2937A2#2937A2

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

Color values

HEX#2937A2
RGBrgb(41, 55, 162)
HSLhsl(233, 60%, 40%)
HSVhsv(233, 75%, 64%)
CMYKcmyk(74.7%, 66%, 0%, 36.5%)
CIE-LABlab(28.93, 32.52, -59.32)
CIE-LCHlch(28.93, 67.65, 298.74°)
OKLaboklab(40.04% 0.0016 -0.1715)
OKLCHoklch(40.04% 0.172 270.5)
XYZxyz(8.8000, 5.8115, 34.8334)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937A2 #A29429
analogous
#2973A2 #2937A2 #5829A2
triadic
#2937A2 #A22937 #37A229
tetradic
#2937A2 #A22973 #A29429 #29A258
square
#2937A2 #A22973 #A29429 #29A258
split-complementary
#2937A2 #A25829 #73A229
monochromatic
#101640 #1D2671 #2937A2 #3B4CCD #6C78DA

Accessibility & contrast

On white

9.71
#2937A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2937A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937A2
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937A2#FFFFFF#000000##FFFFFF
##2937A21.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2937a2;
/* rgb */ color: rgb(41, 55, 162);
/* oklch */ color: oklch(40.0% 0.172 270.5);
Tailwind
colors: {
  custom: {
    50: '#766ebf',
    500: '#2937a2',
    950: '#000000',
  },
}
SCSS
$custom: #2937a2;
$custom-light: #766ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2937a2",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 233.058,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.17152,
    "h": 270.5
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2937A2

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

Preview Lab → · Contrast checker → · Palette generator →

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