#2939AB#2939AB

#2939AB is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.181 H 269.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2939AB
RGBrgb(41, 57, 171)
HSLhsl(233, 61%, 42%)
HSVhsv(233, 76%, 67%)
CMYKcmyk(76%, 66.7%, 0%, 32.9%)
CIE-LABlab(30.25, 34.52, -62.58)
CIE-LCHlch(30.25, 71.47, 298.88°)
OKLaboklab(41.25% -0.0003 -0.181)
OKLCHoklch(41.25% 0.181 269.9)
XYZxyz(9.7257, 6.3369, 39.2308)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2939AB #AB9B29
analogous
#297AAB #2939AB #5A29AB
triadic
#2939AB #AB2939 #39AB29
tetradic
#2939AB #AB297A #AB9B29 #29AB5A
square
#2939AB #AB297A #AB9B29 #29AB5A
split-complementary
#2939AB #AB5A29 #7AAB29
monochromatic
#111848 #1D297A #2939AB #4052D1 #717FDD

Accessibility & contrast

On white

9.26
#2939AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2939AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2939AB
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2939AB#FFFFFF#000000##FFFFFF
##2939AB1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2939ab;
/* rgb */ color: rgb(41, 57, 171);
/* oklch */ color: oklch(41.3% 0.181 269.9);
Tailwind
colors: {
  custom: {
    50: '#786fc5',
    500: '#2939ab',
    950: '#000000',
  },
}
SCSS
$custom: #2939ab;
$custom-light: #786fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2939ab",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 232.615,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41252,
    "c": 0.18104,
    "h": 269.9
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#2939AB
secondary
#C4B96C
accent
#D143E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2939AB

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

Preview Lab → · Contrast checker → · Palette generator →

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