#2939A8#2939A8

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

Color values

HEX#2939A8
RGBrgb(41, 57, 168)
HSLhsl(232, 61%, 41%)
HSVhsv(232, 76%, 66%)
CMYKcmyk(75.6%, 66.1%, 0%, 34.1%)
CIE-LABlab(29.97, 33.43, -61.23)
CIE-LCHlch(29.97, 69.76, 298.63°)
OKLaboklab(40.97% -0.0001 -0.1771)
OKLCHoklch(40.97% 0.177 270)
XYZxyz(9.4430, 6.2238, 37.7418)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2939A8 #A89829
analogous
#2978A8 #2939A8 #5829A8
triadic
#2939A8 #A82939 #39A829
tetradic
#2939A8 #A82978 #A89829 #29A858
square
#2939A8 #A82978 #A89829 #29A858
split-complementary
#2939A8 #A85829 #78A829
monochromatic
#111846 #1D2877 #2939A8 #3E51D0 #6F7DDC

Accessibility & contrast

On white

9.35
#2939A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2939A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2939A8
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2939A8#FFFFFF#000000##FFFFFF
##2939A81.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2939a8;
/* rgb */ color: rgb(41, 57, 168);
/* oklch */ color: oklch(41.0% 0.177 270.0);
Tailwind
colors: {
  custom: {
    50: '#776fc3',
    500: '#2939a8',
    950: '#000000',
  },
}
SCSS
$custom: #2939a8;
$custom-light: #776fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2939a8",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 232.441,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40965,
    "c": 0.1771,
    "h": 270
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#2939A8
secondary
#C3B86A
accent
#D044E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2939A8

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

Preview Lab → · Contrast checker → · Palette generator →

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