#352E78#352E78

#352E78 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.122 H 282.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#352E78
RGBrgb(53, 46, 120)
HSLhsl(246, 45%, 33%)
HSVhsv(246, 62%, 47%)
CMYKcmyk(55.8%, 61.7%, 0%, 52.9%)
CIE-LABlab(23.89, 25.29, -41.48)
CIE-LCHlch(23.89, 48.59, 301.37°)
OKLaboklab(35.43% 0.0264 -0.1189)
OKLCHoklch(35.43% 0.122 282.5)
XYZxyz(5.8343, 4.0666, 18.2432)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352E78 #71782E
analogous
#2E4C78 #352E78 #5A2E78
triadic
#352E78 #78352E #2E7835
tetradic
#352E78 #782E4C #71782E #2E785A
square
#352E78 #782E4C #71782E #2E785A
split-complementary
#352E78 #785A2E #4C782E
monochromatic
#0E0C20 #211D4C #352E78 #493FA4 #685FC2

Accessibility & contrast

On white

11.58
#352E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#352E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352E78
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352E78#FFFFFF#000000##FFFFFF
##352E781.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#183F4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #352e78;
/* rgb */ color: rgb(53, 46, 120);
/* oklch */ color: oklch(35.4% 0.122 282.5);
Tailwind
colors: {
  custom: {
    50: '#7367a0',
    500: '#352e78',
    950: '#000000',
  },
}
SCSS
$custom: #352e78;
$custom-light: #7367a0;
$custom-dark: #000000;
JSON
{
  "hex": "#352e78",
  "rgb": {
    "r": 53,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 245.676,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35431,
    "c": 0.12178,
    "h": 282.5
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#352E78
secondary
#A1A85A
accent
#D454C8
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #352E78

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

Preview Lab → · Contrast checker → · Palette generator →

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