#2935B4#2935B4

#2935B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.197 H 270.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2935B4
RGBrgb(41, 53, 180)
HSLhsl(235, 63%, 43%)
HSVhsv(235, 77%, 71%)
CMYKcmyk(77.2%, 70.6%, 0%, 29.4%)
CIE-LABlab(30.19, 40.25, -68.05)
CIE-LCHlch(30.19, 79.06, 300.60°)
OKLaboklab(41.47% 0.001 -0.197)
OKLCHoklch(41.47% 0.197 270.3)
XYZxyz(10.4230, 6.3118, 43.8401)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2935B4 #B4A829
analogous
#297AB4 #2935B4 #6229B4
triadic
#2935B4 #B42935 #35B429
tetradic
#2935B4 #B4297A #B4A829 #29B462
square
#2935B4 #B4297A #B4A829 #29B462
split-complementary
#2935B4 #B46229 #7AB429
monochromatic
#121850 #1E2682 #2935B4 #4552D5 #7780E0

Accessibility & contrast

On white

9.28
#2935B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2935B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2935B4
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2935B4#FFFFFF#000000##FFFFFF
##2935B41.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2935b4;
/* rgb */ color: rgb(41, 53, 180);
/* oklch */ color: oklch(41.5% 0.197 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a6dcc',
    500: '#2935b4',
    950: '#000000',
  },
}
SCSS
$custom: #2935b4;
$custom-light: #7a6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2935b4",
  "rgb": {
    "r": 41,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 234.82,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4147,
    "c": 0.19703,
    "h": 270.3
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#2935B4
secondary
#C8C071
accent
#D842E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2935B4

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

Preview Lab → · Contrast checker → · Palette generator →

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