#2937C6#2937C6

#2937C6 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.6% C 0.217 H 269.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2937C6
RGBrgb(41, 55, 198)
HSLhsl(235, 66%, 47%)
HSVhsv(235, 79%, 78%)
CMYKcmyk(79.3%, 72.2%, 0%, 22.4%)
CIE-LABlab(32.44, 45.29, -74.96)
CIE-LCHlch(32.44, 87.58, 301.14°)
OKLaboklab(43.63% -0.0021 -0.2171)
OKLCHoklch(43.63% 0.217 269.5)
XYZxyz(12.4702, 7.2796, 54.1630)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937C6 #C6B829
analogous
#2985C6 #2937C6 #6A29C6
triadic
#2937C6 #C62937 #37C629
tetradic
#2937C6 #C62985 #C6B829 #29C66A
square
#2937C6 #C62985 #C6B829 #29C66A
split-complementary
#2937C6 #C66A29 #85C629
monochromatic
#141B61 #1F2993 #2937C6 #515DDB #848DE6

Accessibility & contrast

On white

8.55
#2937C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2937C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937C6
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937C6#FFFFFF#000000##FFFFFF
##2937C61.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CA
Deuteranopia (green-blind)
#0045C3
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2937c6;
/* rgb */ color: rgb(41, 55, 198);
/* oklch */ color: oklch(43.6% 0.217 269.5);
Tailwind
colors: {
  custom: {
    50: '#7e6fd9',
    500: '#2937c6',
    950: '#000000',
  },
}
SCSS
$custom: #2937c6;
$custom-light: #7e6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2937c6",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 234.65,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.21716,
    "h": 269.5
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#2937C6
secondary
#CFC77C
accent
#DA3FE9
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2937C6

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

Preview Lab → · Contrast checker → · Palette generator →

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