#3538AE#3538AE

#3538AE is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.183 H 274.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#3538AE
RGBrgb(53, 56, 174)
HSLhsl(239, 53%, 45%)
HSVhsv(239, 70%, 68%)
CMYKcmyk(69.5%, 67.8%, 0%, 31.8%)
CIE-LABlab(30.97, 37.59, -63.16)
CIE-LCHlch(30.97, 73.50, 300.76°)
OKLaboklab(42.05% 0.0132 -0.1824)
OKLCHoklch(42.05% 0.183 274.1)
XYZxyz(10.5198, 6.6402, 40.7635)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538AE #AEAB35
analogous
#3575AE #3538AE #6E35AE
triadic
#3538AE #AE3538 #38AE35
tetradic
#3538AE #AE3575 #AEAB35 #35AE6E
square
#3538AE #AE3575 #AEAB35 #35AE6E
split-complementary
#3538AE #AE6E35 #75AE35
monochromatic
#181A50 #27297F #3538AE #5558CB #8486DA

Accessibility & contrast

On white

9.02
#3538AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3538AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3538AE
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3538AE#FFFFFF#000000##FFFFFF
##3538AE1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3538ae;
/* rgb */ color: rgb(53, 56, 174);
/* oklch */ color: oklch(42.0% 0.183 274.1);
Tailwind
colors: {
  custom: {
    50: '#7d6fc7',
    500: '#3538ae',
    950: '#000000',
  },
}
SCSS
$custom: #3538ae;
$custom-light: #7d6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3538ae",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 238.512,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42048,
    "c": 0.18292,
    "h": 274.1
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#3538AE
secondary
#C3C17C
accent
#D94BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3538AE

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

Preview Lab → · Contrast checker → · Palette generator →

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