#2935B6#2935B6

#2935B6 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.200 H 270.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2935B6
RGBrgb(41, 53, 182)
HSLhsl(235, 63%, 44%)
HSVhsv(235, 77%, 71%)
CMYKcmyk(77.5%, 70.9%, 0%, 28.6%)
CIE-LABlab(30.39, 40.95, -68.91)
CIE-LCHlch(30.39, 80.16, 300.72°)
OKLaboklab(41.67% 0.0008 -0.1995)
OKLCHoklch(41.67% 0.2 270.2)
XYZxyz(10.6282, 6.3938, 44.9209)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2935B6 #B6AA29
analogous
#297BB6 #2935B6 #6329B6
triadic
#2935B6 #B62935 #35B629
tetradic
#2935B6 #B6297B #B6AA29 #29B663
square
#2935B6 #B6297B #B6AA29 #29B663
split-complementary
#2935B6 #B66329 #7BB629
monochromatic
#121852 #1E2684 #2935B6 #4753D5 #7982E1

Accessibility & contrast

On white

9.21
#2935B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2935B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2935B6
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2935B6#FFFFFF#000000##FFFFFF
##2935B61.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2935b6;
/* rgb */ color: rgb(41, 53, 182);
/* oklch */ color: oklch(41.7% 0.200 270.2);
Tailwind
colors: {
  custom: {
    50: '#7b6dcd',
    500: '#2935b6',
    950: '#000000',
  },
}
SCSS
$custom: #2935b6;
$custom-light: #7b6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2935b6",
  "rgb": {
    "r": 41,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 234.894,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41673,
    "c": 0.19954,
    "h": 270.2
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#2935B6
secondary
#C9C172
accent
#D842E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2935B6

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

Preview Lab → · Contrast checker → · Palette generator →

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