#2937B0#2937B0

#2937B0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.190 H 270.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2937B0
RGBrgb(41, 55, 176)
HSLhsl(234, 62%, 43%)
HSVhsv(234, 77%, 69%)
CMYKcmyk(76.7%, 68.8%, 0%, 31%)
CIE-LABlab(30.25, 37.59, -65.57)
CIE-LCHlch(30.25, 75.58, 299.83°)
OKLaboklab(41.4% 0.0004 -0.1898)
OKLCHoklch(41.4% 0.19 270.1)
XYZxyz(10.1144, 6.3373, 41.7560)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937B0 #B0A229
analogous
#297AB0 #2937B0 #5F29B0
triadic
#2937B0 #B02937 #37B029
tetradic
#2937B0 #B0297A #B0A229 #29B05F
square
#2937B0 #B0297A #B0A229 #29B05F
split-complementary
#2937B0 #B05F29 #7AB029
monochromatic
#12184D #1D277E #2937B0 #4352D3 #7580DF

Accessibility & contrast

On white

9.26
#2937B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2937B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937B0
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937B0#FFFFFF#000000##FFFFFF
##2937B01.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2937b0;
/* rgb */ color: rgb(41, 55, 176);
/* oklch */ color: oklch(41.4% 0.190 270.1);
Tailwind
colors: {
  custom: {
    50: '#796ec9',
    500: '#2937b0',
    950: '#000000',
  },
}
SCSS
$custom: #2937b0;
$custom-light: #796ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2937b0",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 233.778,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41397,
    "c": 0.18978,
    "h": 270.1
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#2937B0
secondary
#C6BD6F
accent
#D443E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2937B0

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

Preview Lab → · Contrast checker → · Palette generator →

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