#352E98#352E98

#352E98 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.166 H 278.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#352E98
RGBrgb(53, 46, 152)
HSLhsl(244, 54%, 39%)
HSVhsv(244, 70%, 60%)
CMYKcmyk(65.1%, 69.7%, 0%, 40.4%)
CIE-LABlab(26.67, 36.21, -56.91)
CIE-LCHlch(26.67, 67.45, 302.47°)
OKLaboklab(38.32% 0.0233 -0.1642)
OKLCHoklch(38.32% 0.166 278.1)
XYZxyz(8.1109, 4.9772, 30.2330)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352E98 #91982E
analogous
#2E5C98 #352E98 #6A2E98
triadic
#352E98 #98352E #2E9835
tetradic
#352E98 #982E5C #91982E #2E986A
square
#352E98 #982E5C #91982E #2E986A
split-complementary
#352E98 #986A2E #5C982E
monochromatic
#14123A #252069 #352E98 #473EC5 #746DD3

Accessibility & contrast

On white

10.52
#352E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#352E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352E98
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352E98#FFFFFF#000000##FFFFFF
##352E981.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #352e98;
/* rgb */ color: rgb(53, 46, 152);
/* oklch */ color: oklch(38.3% 0.166 278.1);
Tailwind
colors: {
  custom: {
    50: '#7968b7',
    500: '#352e98',
    950: '#000000',
  },
}
SCSS
$custom: #352e98;
$custom-light: #7968b7;
$custom-dark: #000000;
JSON
{
  "hex": "#352e98",
  "rgb": {
    "r": 53,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 243.962,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38316,
    "c": 0.16582,
    "h": 278.1
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#352E98
secondary
#B5BA68
accent
#DD4BD3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #352E98

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

Preview Lab → · Contrast checker → · Palette generator →

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