#35339A#35339A

#35339A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.162 H 276.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#35339A
RGBrgb(53, 51, 154)
HSLhsl(241, 50%, 40%)
HSVhsv(241, 67%, 60%)
CMYKcmyk(65.6%, 66.9%, 0%, 39.6%)
CIE-LABlab(28.00, 33.80, -55.95)
CIE-LCHlch(28.00, 65.37, 301.13°)
OKLaboklab(39.33% 0.0191 -0.1614)
OKLCHoklch(39.33% 0.162 276.7)
XYZxyz(8.4829, 5.4569, 31.1718)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35339A #989A33
analogous
#33649A #35339A #68339A
triadic
#35339A #9A3533 #339A35
tetradic
#35339A #9A3364 #989A33 #339A68
square
#35339A #9A3364 #989A33 #339A68
split-complementary
#35339A #9A6833 #649A33
monochromatic
#15153E #25246C #35339A #4A48C2 #7876D2

Accessibility & contrast

On white

10.04
#35339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#35339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35339A
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35339A#FFFFFF#000000##FFFFFF
##35339A1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #35339a;
/* rgb */ color: rgb(53, 51, 154);
/* oklch */ color: oklch(39.3% 0.162 276.7);
Tailwind
colors: {
  custom: {
    50: '#796bb9',
    500: '#35339a',
    950: '#000000',
  },
}
SCSS
$custom: #35339a;
$custom-light: #796bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#35339a",
  "rgb": {
    "r": 53,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 241.165,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39333,
    "c": 0.16249,
    "h": 276.7
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#35339A
secondary
#B8BA6F
accent
#DA4ED7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #35339A

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

Preview Lab → · Contrast checker → · Palette generator →

#35339A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva