#35299D#35299D

#35299D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.178 H 278.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#35299D
RGBrgb(53, 41, 157)
HSLhsl(246, 59%, 39%)
HSVhsv(246, 74%, 62%)
CMYKcmyk(66.2%, 73.9%, 0%, 38.4%)
CIE-LABlab(26.09, 40.81, -60.92)
CIE-LCHlch(26.09, 73.33, 303.82°)
OKLaboklab(38.05% 0.026 -0.1759)
OKLCHoklch(38.05% 0.178 278.4)
XYZxyz(8.3450, 4.7764, 32.3739)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35299D #919D29
analogous
#29579D #35299D #6F299D
triadic
#35299D #9D3529 #299D35
tetradic
#35299D #9D2957 #919D29 #299D6F
square
#35299D #9D2957 #919D29 #299D6F
split-complementary
#35299D #9D6F29 #579D29
monochromatic
#14103C #251C6C #35299D #4738CB #7469D8

Accessibility & contrast

On white

10.74
#35299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#35299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35299D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35299D#FFFFFF#000000##FFFFFF
##35299D1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #35299d;
/* rgb */ color: rgb(53, 41, 157);
/* oklch */ color: oklch(38.0% 0.178 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b65bb',
    500: '#35299d',
    950: '#000000',
  },
}
SCSS
$custom: #35299d;
$custom-light: #7b65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#35299d",
  "rgb": {
    "r": 53,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 246.207,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38047,
    "c": 0.17781,
    "h": 278.4
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#35299D
secondary
#B5BE64
accent
#E246D2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #35299D

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

Preview Lab → · Contrast checker → · Palette generator →

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