#2937B6#2937B6

#2937B6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.197 H 269.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2937B6
RGBrgb(41, 55, 182)
HSLhsl(234, 63%, 44%)
HSVhsv(234, 77%, 71%)
CMYKcmyk(77.5%, 69.8%, 0%, 28.6%)
CIE-LABlab(30.83, 39.73, -68.18)
CIE-LCHlch(30.83, 78.91, 300.23°)
OKLaboklab(42% -0.0002 -0.1974)
OKLCHoklch(42% 0.197 269.9)
XYZxyz(10.7212, 6.5800, 44.9519)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937B6 #B6A829
analogous
#297DB6 #2937B6 #6129B6
triadic
#2937B6 #B62937 #37B629
tetradic
#2937B6 #B6297D #B6A829 #29B661
square
#2937B6 #B6297D #B6A829 #29B661
split-complementary
#2937B6 #B66129 #7DB629
monochromatic
#121952 #1E2884 #2937B6 #4755D5 #7983E1

Accessibility & contrast

On white

9.07
#2937B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2937B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937B6
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937B6#FFFFFF#000000##FFFFFF
##2937B61.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2937b6;
/* rgb */ color: rgb(41, 55, 182);
/* oklch */ color: oklch(42.0% 0.197 269.9);
Tailwind
colors: {
  custom: {
    50: '#7a6ecd',
    500: '#2937b6',
    950: '#000000',
  },
}
SCSS
$custom: #2937b6;
$custom-light: #7a6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2937b6",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 234.043,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41995,
    "c": 0.1974,
    "h": 269.9
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#2937B6
secondary
#C9C072
accent
#D642E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2937B6

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

Preview Lab → · Contrast checker → · Palette generator →

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