#2939B4#2939B4

#2939B4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.193 H 269.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2939B4
RGBrgb(41, 57, 180)
HSLhsl(233, 63%, 43%)
HSVhsv(233, 77%, 71%)
CMYKcmyk(77.2%, 68.3%, 0%, 29.4%)
CIE-LABlab(31.09, 37.78, -66.56)
CIE-LCHlch(31.09, 76.53, 299.58°)
OKLaboklab(42.13% -0.001 -0.1927)
OKLCHoklch(42.13% 0.193 269.7)
XYZxyz(10.6130, 6.6918, 43.9035)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2939B4 #B4A429
analogous
#297EB4 #2939B4 #5F29B4
triadic
#2939B4 #B42939 #39B429
tetradic
#2939B4 #B4297E #B4A429 #29B45F
square
#2939B4 #B4297E #B4A429 #29B45F
split-complementary
#2939B4 #B45F29 #7EB429
monochromatic
#121950 #1E2982 #2939B4 #4556D5 #7783E0

Accessibility & contrast

On white

8.98
#2939B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2939B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2939B4
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2939B4#FFFFFF#000000##FFFFFF
##2939B41.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2939b4;
/* rgb */ color: rgb(41, 57, 180);
/* oklch */ color: oklch(42.1% 0.193 269.7);
Tailwind
colors: {
  custom: {
    50: '#7a70cc',
    500: '#2939b4',
    950: '#000000',
  },
}
SCSS
$custom: #2939b4;
$custom-light: #7a70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2939b4",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 233.094,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42127,
    "c": 0.19266,
    "h": 269.7
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#2939B4
secondary
#C8BE71
accent
#D342E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2939B4

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

Preview Lab → · Contrast checker → · Palette generator →

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