#2935A5#2935A5

#2935A5 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.178 H 270.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2935A5
RGBrgb(41, 53, 165)
HSLhsl(234, 60%, 40%)
HSVhsv(234, 75%, 65%)
CMYKcmyk(75.2%, 67.9%, 0%, 35.3%)
CIE-LABlab(28.73, 34.90, -61.46)
CIE-LCHlch(28.73, 70.68, 299.59°)
OKLaboklab(39.98% 0.0026 -0.1778)
OKLCHoklch(39.98% 0.178 270.8)
XYZxyz(8.9768, 5.7333, 36.2236)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2935A5 #A59929
analogous
#2973A5 #2935A5 #5B29A5
triadic
#2935A5 #A52935 #35A529
tetradic
#2935A5 #A52973 #A59929 #29A55B
square
#2935A5 #A52973 #A59929 #29A55B
split-complementary
#2935A5 #A55B29 #73A529
monochromatic
#111643 #1D2574 #2935A5 #3D4BCF #6E78DB

Accessibility & contrast

On white

9.78
#2935A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2935A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2935A5
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2935A5#FFFFFF#000000##FFFFFF
##2935A51.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2935a5;
/* rgb */ color: rgb(41, 53, 165);
/* oklch */ color: oklch(40.0% 0.178 270.8);
Tailwind
colors: {
  custom: {
    50: '#766cc1',
    500: '#2935a5',
    950: '#000000',
  },
}
SCSS
$custom: #2935a5;
$custom-light: #766cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2935a5",
  "rgb": {
    "r": 41,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 234.194,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.17781,
    "h": 270.8
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#2935A5
secondary
#C2B968
accent
#D444E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2935A5

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

Preview Lab → · Contrast checker → · Palette generator →

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