#2935B2#2935B2

#2935B2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.195 H 270.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2935B2
RGBrgb(41, 53, 178)
HSLhsl(235, 63%, 43%)
HSVhsv(235, 77%, 70%)
CMYKcmyk(77%, 70.2%, 0%, 30.2%)
CIE-LABlab(29.99, 39.54, -67.19)
CIE-LCHlch(29.99, 77.96, 300.48°)
OKLaboklab(41.27% 0.0012 -0.1945)
OKLCHoklch(41.27% 0.195 270.4)
XYZxyz(10.2207, 6.2309, 42.7749)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2935B2 #B2A629
analogous
#2979B2 #2935B2 #6229B2
triadic
#2935B2 #B22935 #35B229
tetradic
#2935B2 #B22979 #B2A629 #29B262
square
#2935B2 #B22979 #B2A629 #29B262
split-complementary
#2935B2 #B26229 #79B229
monochromatic
#12174F #1E2680 #2935B2 #4451D4 #767FDF

Accessibility & contrast

On white

9.35
#2935B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2935B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2935B2
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2935B2#FFFFFF#000000##FFFFFF
##2935B21.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2935b2;
/* rgb */ color: rgb(41, 53, 178);
/* oklch */ color: oklch(41.3% 0.195 270.4);
Tailwind
colors: {
  custom: {
    50: '#7a6dca',
    500: '#2935b2',
    950: '#000000',
  },
}
SCSS
$custom: #2935b2;
$custom-light: #7a6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2935b2",
  "rgb": {
    "r": 41,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 234.745,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41267,
    "c": 0.19451,
    "h": 270.4
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#2935B2
secondary
#C7BF70
accent
#D742E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2935B2

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

Preview Lab → · Contrast checker → · Palette generator →

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