#3538C7#3538C7

#3538C7 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.214 H 272.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3538C7
RGBrgb(53, 56, 199)
HSLhsl(239, 58%, 49%)
HSVhsv(239, 73%, 78%)
CMYKcmyk(73.4%, 71.9%, 0%, 22%)
CIE-LABlab(33.37, 46.07, -73.99)
CIE-LCHlch(33.37, 87.16, 301.91°)
OKLaboklab(44.49% 0.0098 -0.2141)
OKLCHoklch(44.49% 0.214 272.6)
XYZxyz(13.1877, 7.7074, 54.8144)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538C7 #C7C435
analogous
#3581C7 #3538C7 #7B35C7
triadic
#3538C7 #C73538 #38C735
tetradic
#3538C7 #C73581 #C7C435 #35C77B
square
#3538C7 #C73581 #C7C435 #35C77B
split-complementary
#3538C7 #C77B35 #81C735
monochromatic
#1B1D66 #282A97 #3538C7 #6466D6 #9496E2

Accessibility & contrast

On white

8.26
#3538C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3538C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3538C7#FFFFFF#000000##FFFFFF
##3538C71.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#0047C4
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3538c7;
/* rgb */ color: rgb(53, 56, 199);
/* oklch */ color: oklch(44.5% 0.214 272.6);
Tailwind
colors: {
  custom: {
    50: '#8270d9',
    500: '#3538c7',
    950: '#000000',
  },
}
SCSS
$custom: #3538c7;
$custom-light: #8270d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3538c7",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 238.767,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44493,
    "c": 0.2143,
    "h": 272.6
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#3538C7
secondary
#CECC8A
accent
#DE47E1
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3538C7

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

Preview Lab → · Contrast checker → · Palette generator →

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