#2939A6#2939A6

#2939A6 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.174 H 270.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2939A6
RGBrgb(41, 57, 166)
HSLhsl(232, 60%, 41%)
HSVhsv(232, 75%, 65%)
CMYKcmyk(75.3%, 65.7%, 0%, 34.9%)
CIE-LABlab(29.79, 32.70, -60.33)
CIE-LCHlch(29.79, 68.62, 298.46°)
OKLaboklab(40.78% 0 -0.1745)
OKLCHoklch(40.78% 0.174 270)
XYZxyz(9.2582, 6.1499, 36.7681)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2939A6 #A69629
analogous
#2977A6 #2939A6 #5729A6
triadic
#2939A6 #A62939 #39A629
tetradic
#2939A6 #A62977 #A69629 #29A657
square
#2939A6 #A62977 #A69629 #29A657
split-complementary
#2939A6 #A65729 #77A629
monochromatic
#111744 #1D2875 #2939A6 #3D50CF #6E7CDB

Accessibility & contrast

On white

9.42
#2939A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2939A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2939A6
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2939A6#FFFFFF#000000##FFFFFF
##2939A61.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)
#004CA9
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2939a6;
/* rgb */ color: rgb(41, 57, 166);
/* oklch */ color: oklch(40.8% 0.174 270.0);
Tailwind
colors: {
  custom: {
    50: '#766fc1',
    500: '#2939a6',
    950: '#000000',
  },
}
SCSS
$custom: #2939a6;
$custom-light: #766fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2939a6",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 166
  },
  "hsl": {
    "h": 232.32,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40776,
    "c": 0.17446,
    "h": 270
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#2939A6
secondary
#C2B769
accent
#CF44E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2939A6

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

Preview Lab → · Contrast checker → · Palette generator →

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