#2937C2#2937C2

#2937C2 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.2% C 0.212 H 269.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2937C2
RGBrgb(41, 55, 194)
HSLhsl(235, 65%, 46%)
HSVhsv(235, 79%, 76%)
CMYKcmyk(78.9%, 71.6%, 0%, 23.9%)
CIE-LABlab(32.03, 43.92, -73.29)
CIE-LCHlch(32.03, 85.44, 300.93°)
OKLaboklab(43.22% -0.0016 -0.2123)
OKLCHoklch(43.22% 0.212 269.6)
XYZxyz(12.0149, 7.0975, 51.7652)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937C2 #C2B429
analogous
#2983C2 #2937C2 #6729C2
triadic
#2937C2 #C22937 #37C229
tetradic
#2937C2 #C22983 #C2B429 #29C267
square
#2937C2 #C22983 #C2B429 #29C267
split-complementary
#2937C2 #C26729 #83C229
monochromatic
#141A5D #1E298F #2937C2 #4E5BDA #818AE4

Accessibility & contrast

On white

8.68
#2937C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2937C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937C2
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937C2#FFFFFF#000000##FFFFFF
##2937C21.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0044C0
Tritanopia (blue-blind)
#005F79
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2937c2;
/* rgb */ color: rgb(41, 55, 194);
/* oklch */ color: oklch(43.2% 0.212 269.6);
Tailwind
colors: {
  custom: {
    50: '#7d6fd6',
    500: '#2937c2',
    950: '#000000',
  },
}
SCSS
$custom: #2937c2;
$custom-light: #7d6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2937c2",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 234.51,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43215,
    "c": 0.21229,
    "h": 269.6
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#2937C2
secondary
#CDC67A
accent
#D940E8
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2937C2

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

Preview Lab → · Contrast checker → · Palette generator →

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