#2939B2#2939B2

#2939B2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.190 H 269.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2939B2
RGBrgb(41, 57, 178)
HSLhsl(233, 63%, 43%)
HSVhsv(233, 77%, 70%)
CMYKcmyk(77%, 68%, 0%, 30.2%)
CIE-LABlab(30.90, 37.06, -65.68)
CIE-LCHlch(30.90, 75.41, 299.43°)
OKLaboklab(41.93% -0.0008 -0.1901)
OKLCHoklch(41.93% 0.19 269.7)
XYZxyz(10.4107, 6.6109, 42.8382)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2939B2 #B2A229
analogous
#297DB2 #2939B2 #5E29B2
triadic
#2939B2 #B22939 #39B229
tetradic
#2939B2 #B2297D #B2A229 #29B25E
square
#2939B2 #B2297D #B2A229 #29B25E
split-complementary
#2939B2 #B25E29 #7DB229
monochromatic
#12194F #1E2980 #2939B2 #4455D4 #7682DF

Accessibility & contrast

On white

9.04
#2939B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2939B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2939B2
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2939B2#FFFFFF#000000##FFFFFF
##2939B21.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2939b2;
/* rgb */ color: rgb(41, 57, 178);
/* oklch */ color: oklch(41.9% 0.190 269.7);
Tailwind
colors: {
  custom: {
    50: '#796fca',
    500: '#2939b2',
    950: '#000000',
  },
}
SCSS
$custom: #2939b2;
$custom-light: #796fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2939b2",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 232.993,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.19011,
    "h": 269.7
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2939B2

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

Preview Lab → · Contrast checker → · Palette generator →

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