#2937AB#2937AB

#2937AB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.183 H 270.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2937AB
RGBrgb(41, 55, 171)
HSLhsl(234, 61%, 42%)
HSVhsv(234, 76%, 67%)
CMYKcmyk(76%, 67.8%, 0%, 32.9%)
CIE-LABlab(29.77, 35.80, -63.36)
CIE-LCHlch(29.77, 72.78, 299.47°)
OKLaboklab(40.91% 0.0009 -0.1833)
OKLCHoklch(40.91% 0.183 270.3)
XYZxyz(9.6288, 6.1430, 39.1984)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937AB #AB9D29
analogous
#2978AB #2937AB #5C29AB
triadic
#2937AB #AB2937 #37AB29
tetradic
#2937AB #AB2978 #AB9D29 #29AB5C
square
#2937AB #AB2978 #AB9D29 #29AB5C
split-complementary
#2937AB #AB5C29 #78AB29
monochromatic
#111748 #1D277A #2937AB #4050D1 #717DDD

Accessibility & contrast

On white

9.42
#2937AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2937AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937AB
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937AB#FFFFFF#000000##FFFFFF
##2937AB1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2937ab;
/* rgb */ color: rgb(41, 55, 171);
/* oklch */ color: oklch(40.9% 0.183 270.3);
Tailwind
colors: {
  custom: {
    50: '#786ec5',
    500: '#2937ab',
    950: '#000000',
  },
}
SCSS
$custom: #2937ab;
$custom-light: #786ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2937ab",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 233.538,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40905,
    "c": 0.18334,
    "h": 270.3
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#2937AB
secondary
#C4BB6C
accent
#D343E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2937AB

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

Preview Lab → · Contrast checker → · Palette generator →

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