#2939A4#2939A4

#2939A4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.172 H 270.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2939A4
RGBrgb(41, 57, 164)
HSLhsl(232, 60%, 40%)
HSVhsv(232, 75%, 64%)
CMYKcmyk(75%, 65.2%, 0%, 35.7%)
CIE-LABlab(29.61, 31.96, -59.42)
CIE-LCHlch(29.61, 67.47, 298.27°)
OKLaboklab(40.59% 0.0001 -0.1718)
OKLCHoklch(40.59% 0.172 270.1)
XYZxyz(9.0761, 6.0770, 35.8094)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2939A4 #A49429
analogous
#2977A4 #2939A4 #5629A4
triadic
#2939A4 #A42939 #39A429
tetradic
#2939A4 #A42977 #A49429 #29A456
square
#2939A4 #A42977 #A49429 #29A456
split-complementary
#2939A4 #A45629 #77A429
monochromatic
#111742 #1D2873 #2939A4 #3C4FCE #6D7BDA

Accessibility & contrast

On white

9.48
#2939A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2939A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2939A4
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2939A4#FFFFFF#000000##FFFFFF
##2939A41.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2939a4;
/* rgb */ color: rgb(41, 57, 164);
/* oklch */ color: oklch(40.6% 0.172 270.1);
Tailwind
colors: {
  custom: {
    50: '#766fc0',
    500: '#2939a4',
    950: '#000000',
  },
}
SCSS
$custom: #2939a4;
$custom-light: #766fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2939a4",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 232.195,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40587,
    "c": 0.1718,
    "h": 270.1
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#2939A4
secondary
#C1B668
accent
#CF45E3
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2939A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2939A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva