#2939B8#2939B8

#2939B8 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.198 H 269.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2939B8
RGBrgb(41, 57, 184)
HSLhsl(233, 64%, 44%)
HSVhsv(233, 78%, 72%)
CMYKcmyk(77.7%, 69%, 0%, 27.8%)
CIE-LABlab(31.48, 39.20, -68.30)
CIE-LCHlch(31.48, 78.75, 299.86°)
OKLaboklab(42.52% -0.0014 -0.1977)
OKLCHoklch(42.52% 0.198 269.6)
XYZxyz(11.0263, 6.8571, 46.0805)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2939B8 #B8A829
analogous
#2981B8 #2939B8 #6129B8
triadic
#2939B8 #B82939 #39B829
tetradic
#2939B8 #B82981 #B8A829 #29B861
square
#2939B8 #B82981 #B8A829 #29B861
split-complementary
#2939B8 #B86129 #81B829
monochromatic
#131A54 #1E2986 #2939B8 #4858D6 #7A86E1

Accessibility & contrast

On white

8.85
#2939B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2939B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2939B8
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2939B8#FFFFFF#000000##FFFFFF
##2939B81.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2939b8;
/* rgb */ color: rgb(41, 57, 184);
/* oklch */ color: oklch(42.5% 0.198 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b70ce',
    500: '#2939b8',
    950: '#000000',
  },
}
SCSS
$custom: #2939b8;
$custom-light: #7b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2939b8",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 233.287,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.19774,
    "h": 269.6
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#2939B8
secondary
#C9C073
accent
#D441E7
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2939B8

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

Preview Lab → · Contrast checker → · Palette generator →

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