#3538B9#3538B9

#3538B9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.197 H 273.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3538B9
RGBrgb(53, 56, 185)
HSLhsl(239, 55%, 47%)
HSVhsv(239, 71%, 73%)
CMYKcmyk(71.4%, 69.7%, 0%, 27.5%)
CIE-LABlab(32.00, 41.36, -68.00)
CIE-LCHlch(32.00, 79.59, 301.31°)
OKLaboklab(43.11% 0.0118 -0.1966)
OKLCHoklch(43.11% 0.197 273.4)
XYZxyz(11.6364, 7.0869, 46.6442)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538B9 #B9B635
analogous
#357AB9 #3538B9 #7435B9
triadic
#3538B9 #B93538 #38B935
tetradic
#3538B9 #B9357A #B9B635 #35B974
square
#3538B9 #B9357A #B9B635 #35B974
split-complementary
#3538B9 #B97435 #7AB935
monochromatic
#1A1B5A #272A89 #3538B9 #5B5ED0 #8B8DDE

Accessibility & contrast

On white

8.69
#3538B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3538B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3538B9
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3538B9#FFFFFF#000000##FFFFFF
##3538B91.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3538b9;
/* rgb */ color: rgb(53, 56, 185);
/* oklch */ color: oklch(43.1% 0.197 273.4);
Tailwind
colors: {
  custom: {
    50: '#7f6fcf',
    500: '#3538b9',
    950: '#000000',
  },
}
SCSS
$custom: #3538b9;
$custom-light: #7f6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3538b9",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 238.636,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43106,
    "c": 0.19697,
    "h": 273.4
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3538B9

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

Preview Lab → · Contrast checker → · Palette generator →

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