#3538C2#3538C2

#3538C2 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.0% C 0.208 H 272.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3538C2
RGBrgb(53, 56, 194)
HSLhsl(239, 57%, 48%)
HSVhsv(239, 73%, 76%)
CMYKcmyk(72.7%, 71.1%, 0%, 23.9%)
CIE-LABlab(32.87, 44.40, -71.87)
CIE-LCHlch(32.87, 84.48, 301.70°)
OKLaboklab(43.99% 0.0106 -0.2079)
OKLCHoklch(43.99% 0.208 272.9)
XYZxyz(12.6167, 7.4790, 51.8071)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538C2 #C2BF35
analogous
#357EC2 #3538C2 #7835C2
triadic
#3538C2 #C23538 #38C235
tetradic
#3538C2 #C2357E #C2BF35 #35C278
square
#3538C2 #C2357E #C2BF35 #35C278
split-complementary
#3538C2 #C27835 #7EC235
monochromatic
#1B1C62 #282A92 #3538C2 #6063D4 #9192E1

Accessibility & contrast

On white

8.41
#3538C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3538C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3538C2#FFFFFF#000000##FFFFFF
##3538C21.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005F79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3538c2;
/* rgb */ color: rgb(53, 56, 194);
/* oklch */ color: oklch(44.0% 0.208 272.9);
Tailwind
colors: {
  custom: {
    50: '#8170d6',
    500: '#3538c2',
    950: '#000000',
  },
}
SCSS
$custom: #3538c2;
$custom-light: #8170d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3538c2",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 238.723,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43993,
    "c": 0.20818,
    "h": 272.9
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#3538C2
secondary
#CCCA87
accent
#DD47E0
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3538C2

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

Preview Lab → · Contrast checker → · Palette generator →

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