#3538AA#3538AA

#3538AA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.178 H 274.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3538AA
RGBrgb(53, 56, 170)
HSLhsl(238, 52%, 44%)
HSVhsv(238, 69%, 67%)
CMYKcmyk(68.8%, 67.1%, 0%, 33.3%)
CIE-LABlab(30.61, 36.21, -61.36)
CIE-LCHlch(30.61, 71.25, 300.54°)
OKLaboklab(41.67% 0.0136 -0.1772)
OKLCHoklch(41.67% 0.178 274.4)
XYZxyz(10.1357, 6.4866, 38.7403)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538AA #AAA735
analogous
#3572AA #3538AA #6C35AA
triadic
#3538AA #AA3538 #38AA35
tetradic
#3538AA #AA3572 #AAA735 #35AA6C
square
#3538AA #AA3572 #AAA735 #35AA6C
split-complementary
#3538AA #AA6C35 #72AA35
monochromatic
#18194D #26297B #3538AA #5356C9 #8284D8

Accessibility & contrast

On white

9.14
#3538AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3538AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3538AA#FFFFFF#000000##FFFFFF
##3538AA1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3538aa;
/* rgb */ color: rgb(53, 56, 170);
/* oklch */ color: oklch(41.7% 0.178 274.4);
Tailwind
colors: {
  custom: {
    50: '#7c6fc4',
    500: '#3538aa',
    950: '#000000',
  },
}
SCSS
$custom: #3538aa;
$custom-light: #7c6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3538aa",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 238.462,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41672,
    "c": 0.17772,
    "h": 274.4
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#3538AA
secondary
#C1BF7A
accent
#D84CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3538AA

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

Preview Lab → · Contrast checker → · Palette generator →

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