#352F9D#352F9D

#352F9D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.171 H 277.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#352F9D
RGBrgb(53, 47, 157)
HSLhsl(243, 54%, 40%)
HSVhsv(243, 70%, 62%)
CMYKcmyk(66.2%, 70.1%, 0%, 38.4%)
CIE-LABlab(27.36, 37.29, -58.83)
CIE-LCHlch(27.36, 69.65, 302.37°)
OKLaboklab(38.96% 0.0218 -0.1698)
OKLCHoklch(38.96% 0.171 277.3)
XYZxyz(8.5685, 5.2235, 32.4484)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352F9D #979D2F
analogous
#2F609D #352F9D #6C2F9D
triadic
#352F9D #9D352F #2F9D35
tetradic
#352F9D #9D2F60 #979D2F #2F9D6C
square
#352F9D #9D2F60 #979D2F #2F9D6C
split-complementary
#352F9D #9D6C2F #609D2F
monochromatic
#15133F #25216E #352F9D #4A43C7 #7772D5

Accessibility & contrast

On white

10.27
#352F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#352F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352F9D
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352F9D#FFFFFF#000000##FFFFFF
##352F9D1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #352f9d;
/* rgb */ color: rgb(53, 47, 157);
/* oklch */ color: oklch(39.0% 0.171 277.3);
Tailwind
colors: {
  custom: {
    50: '#7a68bb',
    500: '#352f9d',
    950: '#000000',
  },
}
SCSS
$custom: #352f9d;
$custom-light: #7a68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#352f9d",
  "rgb": {
    "r": 53,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 243.273,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.38958,
    "c": 0.17118,
    "h": 277.3
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#352F9D
secondary
#B8BC6B
accent
#DD4BD5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #352F9D

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

Preview Lab → · Contrast checker → · Palette generator →

#352F9D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva