#3538CC#3538CC

#3538CC is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.220 H 272.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3538CC
RGBrgb(53, 56, 204)
HSLhsl(239, 60%, 50%)
HSVhsv(239, 74%, 80%)
CMYKcmyk(74%, 72.5%, 0%, 20%)
CIE-LABlab(33.86, 47.72, -76.08)
CIE-LCHlch(33.86, 89.81, 302.10°)
OKLaboklab(45% 0.009 -0.2202)
OKLCHoklch(45% 0.22 272.3)
XYZxyz(13.7778, 7.9434, 57.9222)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538CC #CCC935
analogous
#3583CC #3538CC #7D35CC
triadic
#3538CC #CC3538 #38CC35
tetradic
#3538CC #CC3583 #CCC935 #35CC7D
square
#3538CC #CC3583 #CCC935 #35CC7D
split-complementary
#3538CC #CC7D35 #83CC35
monochromatic
#1B1D6B #272A9C #3538CC #6668D8 #9798E5

Accessibility & contrast

On white

8.11
#3538CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3538CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3538CC#FFFFFF#000000##FFFFFF
##3538CC1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#0048C9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3538cc;
/* rgb */ color: rgb(53, 56, 204);
/* oklch */ color: oklch(45.0% 0.220 272.3);
Tailwind
colors: {
  custom: {
    50: '#8470dd',
    500: '#3538cc',
    950: '#000000',
  },
}
SCSS
$custom: #3538cc;
$custom-light: #8470dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3538cc",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 238.808,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.44999,
    "c": 0.22036,
    "h": 272.3
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#3538CC
secondary
#D0CF8D
accent
#E045E3
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3538CC

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

Preview Lab → · Contrast checker → · Palette generator →

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