#2937AE#2937AE

#2937AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.187 H 270.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2937AE
RGBrgb(41, 55, 174)
HSLhsl(234, 62%, 42%)
HSVhsv(234, 76%, 68%)
CMYKcmyk(76.4%, 68.4%, 0%, 31.8%)
CIE-LABlab(30.06, 36.88, -64.69)
CIE-LCHlch(30.06, 74.46, 299.69°)
OKLaboklab(41.2% 0.0006 -0.1872)
OKLCHoklch(41.2% 0.187 270.2)
XYZxyz(9.9180, 6.2587, 40.7215)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937AE #AEA029
analogous
#297AAE #2937AE #5D29AE
triadic
#2937AE #AE2937 #37AE29
tetradic
#2937AE #AE297A #AEA029 #29AE5D
square
#2937AE #AE297A #AEA029 #29AE5D
split-complementary
#2937AE #AE5D29 #7AAE29
monochromatic
#12184B #1D277C #2937AE #4251D2 #737FDE

Accessibility & contrast

On white

9.33
#2937AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2937AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2937AE#FFFFFF#000000##FFFFFF
##2937AE1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2937ae;
/* rgb */ color: rgb(41, 55, 174);
/* oklch */ color: oklch(41.2% 0.187 270.2);
Tailwind
colors: {
  custom: {
    50: '#786ec7',
    500: '#2937ae',
    950: '#000000',
  },
}
SCSS
$custom: #2937ae;
$custom-light: #786ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2937ae",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 233.684,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.18721,
    "h": 270.2
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2937AE

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

Preview Lab → · Contrast checker → · Palette generator →

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