#2937B1#2937B1

#2937B1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.191 H 270.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2937B1
RGBrgb(41, 55, 177)
HSLhsl(234, 62%, 43%)
HSVhsv(234, 77%, 69%)
CMYKcmyk(76.8%, 68.9%, 0%, 30.6%)
CIE-LABlab(30.34, 37.95, -66.01)
CIE-LCHlch(30.34, 76.14, 299.90°)
OKLaboklab(41.5% 0.0003 -0.1911)
OKLCHoklch(41.5% 0.191 270.1)
XYZxyz(10.2137, 6.3770, 42.2790)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937B1 #B1A329
analogous
#297BB1 #2937B1 #5F29B1
triadic
#2937B1 #B12937 #37B129
tetradic
#2937B1 #B1297B #B1A329 #29B15F
square
#2937B1 #B1297B #B1A329 #29B15F
split-complementary
#2937B1 #B15F29 #7BB129
monochromatic
#12184E #1D287F #2937B1 #4452D4 #7580DF

Accessibility & contrast

On white

9.23
#2937B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2937B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937B1
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937B1#FFFFFF#000000##FFFFFF
##2937B11.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2937b1;
/* rgb */ color: rgb(41, 55, 177);
/* oklch */ color: oklch(41.5% 0.191 270.1);
Tailwind
colors: {
  custom: {
    50: '#796ec9',
    500: '#2937b1',
    950: '#000000',
  },
}
SCSS
$custom: #2937b1;
$custom-light: #796ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2937b1",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 233.824,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41496,
    "c": 0.19106,
    "h": 270.1
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#2937B1
secondary
#C7BE6F
accent
#D542E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2937B1

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

Preview Lab → · Contrast checker → · Palette generator →

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