#2939AC#2939AC

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

Color values

HEX#2939AC
RGBrgb(41, 57, 172)
HSLhsl(233, 62%, 42%)
HSVhsv(233, 76%, 67%)
CMYKcmyk(76.2%, 66.9%, 0%, 32.5%)
CIE-LABlab(30.34, 34.89, -63.03)
CIE-LCHlch(30.34, 72.04, 298.97°)
OKLaboklab(41.35% -0.0004 -0.1824)
OKLCHoklch(41.35% 0.182 269.9)
XYZxyz(9.8214, 6.3752, 39.7346)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2939AC #AC9C29
analogous
#297BAC #2939AC #5B29AC
triadic
#2939AC #AC2939 #39AC29
tetradic
#2939AC #AC297B #AC9C29 #29AC5B
square
#2939AC #AC297B #AC9C29 #29AC5B
split-complementary
#2939AC #AC5B29 #7BAC29
monochromatic
#111849 #1D297B #2939AC #4152D2 #727FDD

Accessibility & contrast

On white

9.23
#2939AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2939AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2939AC
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2939AC#FFFFFF#000000##FFFFFF
##2939AC1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2939ac;
/* rgb */ color: rgb(41, 57, 172);
/* oklch */ color: oklch(41.3% 0.182 269.9);
Tailwind
colors: {
  custom: {
    50: '#786fc6',
    500: '#2939ac',
    950: '#000000',
  },
}
SCSS
$custom: #2939ac;
$custom-light: #786fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2939ac",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 232.672,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.18235,
    "h": 269.9
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#2939AC
secondary
#C5BA6C
accent
#D143E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2939AC

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

Preview Lab → · Contrast checker → · Palette generator →

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