#35337E#35337E

#35337E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.123 H 279.7°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#35337E
RGBrgb(53, 51, 126)
HSLhsl(242, 42%, 35%)
HSVhsv(242, 60%, 49%)
CMYKcmyk(57.9%, 59.5%, 0%, 50.6%)
CIE-LABlab(25.66, 24.04, -42.42)
CIE-LCHlch(25.66, 48.76, 299.55°)
OKLaboklab(36.88% 0.0207 -0.1216)
OKLCHoklch(36.88% 0.123 279.7)
XYZxyz(6.4167, 4.6305, 20.2903)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35337E #7C7E33
analogous
#33577E #35337E #5B337E
triadic
#35337E #7E3533 #337E35
tetradic
#35337E #7E3357 #7C7E33 #337E5B
square
#35337E #7E3357 #7C7E33 #337E5B
split-complementary
#35337E #7E5B33 #577E33
monochromatic
#101027 #232152 #35337E #4745AA #6B69C2

Accessibility & contrast

On white

10.90
#35337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#35337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35337E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35337E#FFFFFF#000000##FFFFFF
##35337E1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#0F4553
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #35337e;
/* rgb */ color: rgb(53, 51, 126);
/* oklch */ color: oklch(36.9% 0.123 279.7);
Tailwind
colors: {
  custom: {
    50: '#736aa4',
    500: '#35337e',
    950: '#000000',
  },
}
SCSS
$custom: #35337e;
$custom-light: #736aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#35337e",
  "rgb": {
    "r": 53,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 241.6,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.12336,
    "h": 279.7
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

primary
#35337E
secondary
#A8AA63
accent
#D256CF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #35337E

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

Preview Lab → · Contrast checker → · Palette generator →

#35337E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva