#3538B8#3538B8

#3538B8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.0% C 0.196 H 273.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3538B8
RGBrgb(53, 56, 184)
HSLhsl(239, 55%, 46%)
HSVhsv(239, 71%, 72%)
CMYKcmyk(71.2%, 69.6%, 0%, 27.8%)
CIE-LABlab(31.91, 41.02, -67.57)
CIE-LCHlch(31.91, 79.04, 301.26°)
OKLaboklab(43.01% 0.012 -0.1953)
OKLCHoklch(43.01% 0.196 273.5)
XYZxyz(11.5312, 7.0448, 46.0902)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538B8 #B8B535
analogous
#357AB8 #3538B8 #7435B8
triadic
#3538B8 #B83538 #38B835
tetradic
#3538B8 #B8357A #B8B535 #35B874
square
#3538B8 #B8357A #B8B535 #35B874
split-complementary
#3538B8 #B87435 #7AB835
monochromatic
#1A1B59 #272A88 #3538B8 #5B5DD0 #8A8CDD

Accessibility & contrast

On white

8.72
#3538B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3538B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3538B8
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3538B8#FFFFFF#000000##FFFFFF
##3538B81.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3538b8;
/* rgb */ color: rgb(53, 56, 184);
/* oklch */ color: oklch(43.0% 0.196 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f6fce',
    500: '#3538b8',
    950: '#000000',
  },
}
SCSS
$custom: #3538b8;
$custom-light: #7f6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3538b8",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 238.626,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.19572,
    "h": 273.5
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#3538B8
secondary
#C7C681
accent
#DB49DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3538B8

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

Preview Lab → · Contrast checker → · Palette generator →

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