#2937AC#2937AC

#2937AC is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.185 H 270.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2937AC
RGBrgb(41, 55, 172)
HSLhsl(234, 62%, 42%)
HSVhsv(234, 76%, 67%)
CMYKcmyk(76.2%, 68%, 0%, 32.5%)
CIE-LABlab(29.87, 36.16, -63.81)
CIE-LCHlch(29.87, 73.34, 299.54°)
OKLaboklab(41% 0.0008 -0.1846)
OKLCHoklch(41% 0.185 270.2)
XYZxyz(9.7245, 6.1813, 39.7023)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937AC #AC9E29
analogous
#2979AC #2937AC #5D29AC
triadic
#2937AC #AC2937 #37AC29
tetradic
#2937AC #AC2979 #AC9E29 #29AC5D
square
#2937AC #AC2979 #AC9E29 #29AC5D
split-complementary
#2937AC #AC5D29 #79AC29
monochromatic
#111749 #1D277B #2937AC #4150D2 #727DDD

Accessibility & contrast

On white

9.39
#2937AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2937AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937AC
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937AC#FFFFFF#000000##FFFFFF
##2937AC1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2937ac;
/* rgb */ color: rgb(41, 55, 172);
/* oklch */ color: oklch(41.0% 0.185 270.2);
Tailwind
colors: {
  custom: {
    50: '#786ec6',
    500: '#2937ac',
    950: '#000000',
  },
}
SCSS
$custom: #2937ac;
$custom-light: #786ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2937ac",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 233.588,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.18463,
    "h": 270.2
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#2937AC
secondary
#C5BB6C
accent
#D343E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2937AC

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

Preview Lab → · Contrast checker → · Palette generator →

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