#3538A2#3538A2

#3538A2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.167 H 274.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3538A2
RGBrgb(53, 56, 162)
HSLhsl(238, 51%, 42%)
HSVhsv(238, 67%, 64%)
CMYKcmyk(67.3%, 65.4%, 0%, 36.5%)
CIE-LABlab(29.89, 33.42, -57.71)
CIE-LCHlch(29.89, 66.69, 300.07°)
OKLaboklab(40.93% 0.0144 -0.1665)
OKLCHoklch(40.93% 0.167 274.9)
XYZxyz(9.4018, 6.1930, 34.8753)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538A2 #A29F35
analogous
#356EA2 #3538A2 #6935A2
triadic
#3538A2 #A23538 #38A235
tetradic
#3538A2 #A2356E #A29F35 #35A269
square
#3538A2 #A2356E #A29F35 #35A269
split-complementary
#3538A2 #A26935 #6EA235
monochromatic
#171846 #262874 #3538A2 #4F52C5 #7D7FD4

Accessibility & contrast

On white

9.38
#3538A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3538A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3538A2
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3538A2#FFFFFF#000000##FFFFFF
##3538A21.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3538a2;
/* rgb */ color: rgb(53, 56, 162);
/* oklch */ color: oklch(40.9% 0.167 274.9);
Tailwind
colors: {
  custom: {
    50: '#7a6fbe',
    500: '#3538a2',
    950: '#000000',
  },
}
SCSS
$custom: #3538a2;
$custom-light: #7a6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3538a2",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 238.349,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.16713,
    "h": 274.9
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#3538A2
secondary
#BDBB75
accent
#D64EDA
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3538A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3538A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva