#3538CB#3538CB

#3538CB is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.219 H 272.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#3538CB
RGBrgb(53, 56, 203)
HSLhsl(239, 59%, 50%)
HSVhsv(239, 74%, 80%)
CMYKcmyk(73.9%, 72.4%, 0%, 20.4%)
CIE-LABlab(33.76, 47.39, -75.66)
CIE-LCHlch(33.76, 89.28, 302.06°)
OKLaboklab(44.9% 0.0092 -0.219)
OKLCHoklch(44.9% 0.219 272.4)
XYZxyz(13.6582, 7.8956, 57.2925)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538CB #CBC835
analogous
#3583CB #3538CB #7D35CB
triadic
#3538CB #CB3538 #38CB35
tetradic
#3538CB #CB3583 #CBC835 #35CB7D
square
#3538CB #CB3583 #CBC835 #35CB7D
split-complementary
#3538CB #CB7D35 #83CB35
monochromatic
#1B1D6A #282A9B #3538CB #6668D8 #9698E4

Accessibility & contrast

On white

8.14
#3538CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3538CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3538CB#FFFFFF#000000##FFFFFF
##3538CB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#0048C8
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3538cb;
/* rgb */ color: rgb(53, 56, 203);
/* oklch */ color: oklch(44.9% 0.219 272.4);
Tailwind
colors: {
  custom: {
    50: '#8370dc',
    500: '#3538cb',
    950: '#000000',
  },
}
SCSS
$custom: #3538cb;
$custom-light: #8370dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3538cb",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 238.8,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44897,
    "c": 0.21915,
    "h": 272.4
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#3538CB
secondary
#CFCE8C
accent
#DF46E2
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3538CB

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

Preview Lab → · Contrast checker → · Palette generator →

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