#2935A2#2935A2

#2935A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.174 H 270.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2935A2
RGBrgb(41, 53, 162)
HSLhsl(234, 60%, 40%)
HSVhsv(234, 75%, 64%)
CMYKcmyk(74.7%, 67.3%, 0%, 36.5%)
CIE-LABlab(28.45, 33.81, -60.11)
CIE-LCHlch(28.45, 68.97, 299.36°)
OKLaboklab(39.68% 0.0028 -0.1738)
OKLCHoklch(39.68% 0.174 270.9)
XYZxyz(8.7069, 5.6253, 34.8023)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2935A2 #A29629
analogous
#2971A2 #2935A2 #5A29A2
triadic
#2935A2 #A22935 #35A229
tetradic
#2935A2 #A22971 #A29629 #29A25A
square
#2935A2 #A22971 #A29629 #29A25A
split-complementary
#2935A2 #A25A29 #71A229
monochromatic
#101540 #1D2571 #2935A2 #3B49CD #6C77DA

Accessibility & contrast

On white

9.88
#2935A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2935A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2935A2
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2935A2#FFFFFF#000000##FFFFFF
##2935A21.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2935a2;
/* rgb */ color: rgb(41, 53, 162);
/* oklch */ color: oklch(39.7% 0.174 270.9);
Tailwind
colors: {
  custom: {
    50: '#766cbf',
    500: '#2935a2',
    950: '#000000',
  },
}
SCSS
$custom: #2935a2;
$custom-light: #766cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2935a2",
  "rgb": {
    "r": 41,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 234.05,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39683,
    "c": 0.17387,
    "h": 270.9
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#2935A2
secondary
#C0B767
accent
#D345E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2935A2

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

Preview Lab → · Contrast checker → · Palette generator →

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