#2939A2#2939A2

#2939A2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.169 H 270.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2939A2
RGBrgb(41, 57, 162)
HSLhsl(232, 60%, 40%)
HSVhsv(232, 75%, 64%)
CMYKcmyk(74.7%, 64.8%, 0%, 36.5%)
CIE-LABlab(29.43, 31.22, -58.51)
CIE-LCHlch(29.43, 66.32, 298.09°)
OKLaboklab(40.4% 0.0003 -0.1691)
OKLCHoklch(40.4% 0.169 270.1)
XYZxyz(8.8969, 6.0054, 34.8657)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2939A2 #A29229
analogous
#2976A2 #2939A2 #5529A2
triadic
#2939A2 #A22939 #39A229
tetradic
#2939A2 #A22976 #A29229 #29A255
square
#2939A2 #A22976 #A29229 #29A255
split-complementary
#2939A2 #A25529 #76A229
monochromatic
#101740 #1D2871 #2939A2 #3B4ECD #6C7ADA

Accessibility & contrast

On white

9.54
#2939A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2939A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2939A2
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2939A2#FFFFFF#000000##FFFFFF
##2939A21.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2939a2;
/* rgb */ color: rgb(41, 57, 162);
/* oklch */ color: oklch(40.4% 0.169 270.1);
Tailwind
colors: {
  custom: {
    50: '#756fbe',
    500: '#2939a2',
    950: '#000000',
  },
}
SCSS
$custom: #2939a2;
$custom-light: #756fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2939a2",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 232.066,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.16913,
    "h": 270.1
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#2939A2
secondary
#C0B467
accent
#CE45E3
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2939A2

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

Preview Lab → · Contrast checker → · Palette generator →

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