#35308F#35308F

#35308F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.151 H 278.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#35308F
RGBrgb(53, 48, 143)
HSLhsl(243, 50%, 37%)
HSVhsv(243, 66%, 56%)
CMYKcmyk(62.9%, 66.4%, 0%, 43.9%)
CIE-LABlab(26.31, 31.90, -51.95)
CIE-LCHlch(26.31, 60.97, 301.55°)
OKLaboklab(37.81% 0.0228 -0.1496)
OKLCHoklch(37.81% 0.151 278.6)
XYZxyz(7.4815, 4.8534, 26.5238)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35308F #8A8F30
analogous
#305A8F #35308F #65308F
triadic
#35308F #8F3530 #308F35
tetradic
#35308F #8F305A #8A8F30 #308F65
square
#35308F #8F305A #8A8F30 #308F65
split-complementary
#35308F #8F6530 #5A8F30
monochromatic
#131133 #242161 #35308F #463FBD #716CCE

Accessibility & contrast

On white

10.66
#35308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#35308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35308F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35308F#FFFFFF#000000##FFFFFF
##35308F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #35308f;
/* rgb */ color: rgb(53, 48, 143);
/* oklch */ color: oklch(37.8% 0.151 278.6);
Tailwind
colors: {
  custom: {
    50: '#7769b1',
    500: '#35308f',
    950: '#000000',
  },
}
SCSS
$custom: #35308f;
$custom-light: #7769b1;
$custom-dark: #000000;
JSON
{
  "hex": "#35308f",
  "rgb": {
    "r": 53,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 243.158,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37806,
    "c": 0.15137,
    "h": 278.6
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#35308F
secondary
#B1B566
accent
#D94FD2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #35308F

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

Preview Lab → · Contrast checker → · Palette generator →

#35308F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva