#3538B5#3538B5

#3538B5 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.7% C 0.192 H 273.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3538B5
RGBrgb(53, 56, 181)
HSLhsl(239, 55%, 46%)
HSVhsv(239, 71%, 71%)
CMYKcmyk(70.7%, 69.1%, 0%, 29%)
CIE-LABlab(31.62, 40.00, -66.26)
CIE-LCHlch(31.62, 77.39, 301.12°)
OKLaboklab(42.72% 0.0123 -0.1915)
OKLCHoklch(42.72% 0.192 273.7)
XYZxyz(11.2201, 6.9203, 44.4516)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538B5 #B5B235
analogous
#3578B5 #3538B5 #7235B5
triadic
#3538B5 #B53538 #38B535
tetradic
#3538B5 #B53578 #B5B235 #35B572
square
#3538B5 #B53578 #B5B235 #35B572
split-complementary
#3538B5 #B57235 #78B535
monochromatic
#191B56 #272986 #3538B5 #595CCE #888ADC

Accessibility & contrast

On white

8.81
#3538B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3538B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3538B5
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3538B5#FFFFFF#000000##FFFFFF
##3538B51.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3538b5;
/* rgb */ color: rgb(53, 56, 181);
/* oklch */ color: oklch(42.7% 0.192 273.7);
Tailwind
colors: {
  custom: {
    50: '#7e6fcc',
    500: '#3538b5',
    950: '#000000',
  },
}
SCSS
$custom: #3538b5;
$custom-light: #7e6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3538b5",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 238.594,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42718,
    "c": 0.19191,
    "h": 273.7
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#3538B5
secondary
#C6C580
accent
#DB4ADE
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3538B5

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

Preview Lab → · Contrast checker → · Palette generator →

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