#35299F#35299F

#35299F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.180 H 278.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#35299F
RGBrgb(53, 41, 159)
HSLhsl(246, 59%, 39%)
HSVhsv(246, 74%, 62%)
CMYKcmyk(66.7%, 74.2%, 0%, 37.6%)
CIE-LABlab(26.29, 41.46, -61.81)
CIE-LCHlch(26.29, 74.43, 303.85°)
OKLaboklab(38.25% 0.0255 -0.1785)
OKLCHoklch(38.25% 0.18 278.1)
XYZxyz(8.5171, 4.8453, 33.2806)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35299F #939F29
analogous
#29589F #35299F #70299F
triadic
#35299F #9F3529 #299F35
tetradic
#35299F #9F2958 #939F29 #299F70
square
#35299F #9F2958 #939F29 #299F70
split-complementary
#35299F #9F7029 #589F29
monochromatic
#15103E #251C6E #35299F #4839CC #756AD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##35299F#FFFFFF#000000##FFFFFF
##35299F1.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)
#0043A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #35299f;
/* rgb */ color: rgb(53, 41, 159);
/* oklch */ color: oklch(38.3% 0.180 278.1);
Tailwind
colors: {
  custom: {
    50: '#7b65bd',
    500: '#35299f',
    950: '#000000',
  },
}
SCSS
$custom: #35299f;
$custom-light: #7b65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#35299f",
  "rgb": {
    "r": 53,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 246.102,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38251,
    "c": 0.18031,
    "h": 278.1
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#35299F
secondary
#B6BF65
accent
#E246D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #35299F

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

Preview Lab → · Contrast checker → · Palette generator →

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