#3538B3#3538B3

#3538B3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.189 H 273.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3538B3
RGBrgb(53, 56, 179)
HSLhsl(239, 54%, 45%)
HSVhsv(239, 70%, 70%)
CMYKcmyk(70.4%, 68.7%, 0%, 29.8%)
CIE-LABlab(31.44, 39.31, -65.38)
CIE-LCHlch(31.44, 76.29, 301.02°)
OKLaboklab(42.53% 0.0126 -0.1889)
OKLCHoklch(42.53% 0.189 273.8)
XYZxyz(11.0163, 6.8388, 43.3785)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538B3 #B3B035
analogous
#3577B3 #3538B3 #7135B3
triadic
#3538B3 #B33538 #38B335
tetradic
#3538B3 #B33577 #B3B035 #35B371
square
#3538B3 #B33577 #B3B035 #35B371
split-complementary
#3538B3 #B37135 #77B335
monochromatic
#191A55 #272984 #3538B3 #585BCD #8789DB

Accessibility & contrast

On white

8.87
#3538B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3538B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3538B3#FFFFFF#000000##FFFFFF
##3538B31.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3538b3;
/* rgb */ color: rgb(53, 56, 179);
/* oklch */ color: oklch(42.5% 0.189 273.8);
Tailwind
colors: {
  custom: {
    50: '#7e6fcb',
    500: '#3538b3',
    950: '#000000',
  },
}
SCSS
$custom: #3538b3;
$custom-light: #7e6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3538b3",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 238.571,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.18936,
    "h": 273.8
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#3538B3
secondary
#C5C47F
accent
#DA4ADE
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3538B3

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

Preview Lab → · Contrast checker → · Palette generator →

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