#2937AA#2937AA

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

Color values

HEX#2937AA
RGBrgb(41, 55, 170)
HSLhsl(233, 61%, 41%)
HSVhsv(233, 76%, 67%)
CMYKcmyk(75.9%, 67.6%, 0%, 33.3%)
CIE-LABlab(29.68, 35.44, -62.92)
CIE-LCHlch(29.68, 72.21, 299.39°)
OKLaboklab(40.81% 0.001 -0.182)
OKLCHoklch(40.81% 0.182 270.3)
XYZxyz(9.5339, 6.1050, 38.6983)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937AA #AA9C29
analogous
#2978AA #2937AA #5C29AA
triadic
#2937AA #AA2937 #37AA29
tetradic
#2937AA #AA2978 #AA9C29 #29AA5C
square
#2937AA #AA2978 #AA9C29 #29AA5C
split-complementary
#2937AA #AA5C29 #78AA29
monochromatic
#111747 #1D2779 #2937AA #3F4FD1 #717CDD

Accessibility & contrast

On white

9.45
#2937AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2937AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2937AA#FFFFFF#000000##FFFFFF
##2937AA1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2937aa;
/* rgb */ color: rgb(41, 55, 170);
/* oklch */ color: oklch(40.8% 0.182 270.3);
Tailwind
colors: {
  custom: {
    50: '#776ec4',
    500: '#2937aa',
    950: '#000000',
  },
}
SCSS
$custom: #2937aa;
$custom-light: #776ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2937aa",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 233.488,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.18204,
    "h": 270.3
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#2937AA
secondary
#C4BA6B
accent
#D344E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2937AA

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

Preview Lab → · Contrast checker → · Palette generator →

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