#2939A5#2939A5

#2939A5 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.173 H 270.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2939A5
RGBrgb(41, 57, 165)
HSLhsl(232, 60%, 40%)
HSVhsv(232, 75%, 65%)
CMYKcmyk(75.2%, 65.5%, 0%, 35.3%)
CIE-LABlab(29.70, 32.33, -59.88)
CIE-LCHlch(29.70, 68.05, 298.37°)
OKLaboklab(40.68% 0.0001 -0.1731)
OKLCHoklch(40.68% 0.173 270)
XYZxyz(9.1668, 6.1133, 36.2869)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2939A5 #A59529
analogous
#2977A5 #2939A5 #5729A5
triadic
#2939A5 #A52939 #39A529
tetradic
#2939A5 #A52977 #A59529 #29A557
square
#2939A5 #A52977 #A59529 #29A557
split-complementary
#2939A5 #A55729 #77A529
monochromatic
#111743 #1D2874 #2939A5 #3D4FCF #6E7CDB

Accessibility & contrast

On white

9.45
#2939A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2939A5#FFFFFF#000000##FFFFFF
##2939A51.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)
#004CA8
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2939a5;
/* rgb */ color: rgb(41, 57, 165);
/* oklch */ color: oklch(40.7% 0.173 270.0);
Tailwind
colors: {
  custom: {
    50: '#766fc1',
    500: '#2939a5',
    950: '#000000',
  },
}
SCSS
$custom: #2939a5;
$custom-light: #766fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2939a5",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 232.258,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.17313,
    "h": 270
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#2939A5
secondary
#C2B668
accent
#CF44E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2939A5

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

Preview Lab → · Contrast checker → · Palette generator →

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