#2935B1#2935B1

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

Color values

HEX#2935B1
RGBrgb(41, 53, 177)
HSLhsl(235, 62%, 43%)
HSVhsv(235, 77%, 69%)
CMYKcmyk(76.8%, 70.1%, 0%, 30.6%)
CIE-LABlab(29.89, 39.19, -66.76)
CIE-LCHlch(29.89, 77.41, 300.42°)
OKLaboklab(41.17% 0.0013 -0.1932)
OKLCHoklch(41.17% 0.193 270.4)
XYZxyz(10.1207, 6.1908, 42.2480)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2935B1 #B1A529
analogous
#2979B1 #2935B1 #6129B1
triadic
#2935B1 #B12935 #35B129
tetradic
#2935B1 #B12979 #B1A529 #29B161
square
#2935B1 #B12979 #B1A529 #29B161
split-complementary
#2935B1 #B16129 #79B129
monochromatic
#12174E #1D267F #2935B1 #4450D4 #757FDF

Accessibility & contrast

On white

9.38
#2935B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2935B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2935B1
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2935B1#FFFFFF#000000##FFFFFF
##2935B11.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2935b1;
/* rgb */ color: rgb(41, 53, 177);
/* oklch */ color: oklch(41.2% 0.193 270.4);
Tailwind
colors: {
  custom: {
    50: '#796dc9',
    500: '#2935b1',
    950: '#000000',
  },
}
SCSS
$custom: #2935b1;
$custom-light: #796dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2935b1",
  "rgb": {
    "r": 41,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 234.706,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.19325,
    "h": 270.4
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#2935B1
secondary
#C7BF6F
accent
#D742E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2935B1

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

Preview Lab → · Contrast checker → · Palette generator →

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