#2937B4#2937B4

#2937B4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.195 H 270.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2937B4
RGBrgb(41, 55, 180)
HSLhsl(234, 63%, 43%)
HSVhsv(234, 77%, 71%)
CMYKcmyk(77.2%, 69.4%, 0%, 29.4%)
CIE-LABlab(30.64, 39.02, -67.31)
CIE-LCHlch(30.64, 77.81, 300.10°)
OKLaboklab(41.79% 0 -0.1949)
OKLCHoklch(41.79% 0.195 270)
XYZxyz(10.5160, 6.4979, 43.8712)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937B4 #B4A629
analogous
#297CB4 #2937B4 #6029B4
triadic
#2937B4 #B42937 #37B429
tetradic
#2937B4 #B4297C #B4A629 #29B460
square
#2937B4 #B4297C #B4A629 #29B460
split-complementary
#2937B4 #B46029 #7CB429
monochromatic
#121950 #1E2882 #2937B4 #4554D5 #7782E0

Accessibility & contrast

On white

9.13
#2937B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2937B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937B4
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937B4#FFFFFF#000000##FFFFFF
##2937B41.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2937b4;
/* rgb */ color: rgb(41, 55, 180);
/* oklch */ color: oklch(41.8% 0.195 270.0);
Tailwind
colors: {
  custom: {
    50: '#7a6ecc',
    500: '#2937b4',
    950: '#000000',
  },
}
SCSS
$custom: #2937b4;
$custom-light: #7a6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2937b4",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 233.957,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.19487,
    "h": 270
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#2937B4
secondary
#C8BF71
accent
#D542E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2937B4

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

Preview Lab → · Contrast checker → · Palette generator →

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