#2935A4#2935A4

#2935A4 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.176 H 270.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2935A4
RGBrgb(41, 53, 164)
HSLhsl(234, 60%, 40%)
HSVhsv(234, 75%, 64%)
CMYKcmyk(75%, 67.7%, 0%, 35.7%)
CIE-LABlab(28.63, 34.54, -61.01)
CIE-LCHlch(28.63, 70.11, 299.51°)
OKLaboklab(39.88% 0.0026 -0.1765)
OKLCHoklch(39.88% 0.177 270.9)
XYZxyz(8.8861, 5.6970, 35.7461)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2935A4 #A49829
analogous
#2973A4 #2935A4 #5A29A4
triadic
#2935A4 #A42935 #35A429
tetradic
#2935A4 #A42973 #A49829 #29A45A
square
#2935A4 #A42973 #A49829 #29A45A
split-complementary
#2935A4 #A45A29 #73A429
monochromatic
#111542 #1D2573 #2935A4 #3C4ACE #6D78DA

Accessibility & contrast

On white

9.81
#2935A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2935A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2935A4
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2935A4#FFFFFF#000000##FFFFFF
##2935A41.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2935a4;
/* rgb */ color: rgb(41, 53, 164);
/* oklch */ color: oklch(39.9% 0.176 270.9);
Tailwind
colors: {
  custom: {
    50: '#766cc0',
    500: '#2935a4',
    950: '#000000',
  },
}
SCSS
$custom: #2935a4;
$custom-light: #766cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2935a4",
  "rgb": {
    "r": 41,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 234.146,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.1765,
    "h": 270.9
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#2935A4
secondary
#C1B868
accent
#D445E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2935A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2935A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva