#3538B2#3538B2

#3538B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.188 H 273.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3538B2
RGBrgb(53, 56, 178)
HSLhsl(239, 54%, 45%)
HSVhsv(239, 70%, 70%)
CMYKcmyk(70.2%, 68.5%, 0%, 30.2%)
CIE-LABlab(31.34, 38.97, -64.93)
CIE-LCHlch(31.34, 75.73, 300.97°)
OKLaboklab(42.43% 0.0127 -0.1876)
OKLCHoklch(42.43% 0.188 273.9)
XYZxyz(10.9156, 6.7985, 42.8478)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538B2 #B2AF35
analogous
#3576B2 #3538B2 #7035B2
triadic
#3538B2 #B23538 #38B235
tetradic
#3538B2 #B23576 #B2AF35 #35B270
square
#3538B2 #B23576 #B2AF35 #35B270
split-complementary
#3538B2 #B27035 #76B235
monochromatic
#191A54 #272983 #3538B2 #575ACD #8688DB

Accessibility & contrast

On white

8.90
#3538B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3538B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3538B2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3538B2#FFFFFF#000000##FFFFFF
##3538B21.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3538b2;
/* rgb */ color: rgb(53, 56, 178);
/* oklch */ color: oklch(42.4% 0.188 273.9);
Tailwind
colors: {
  custom: {
    50: '#7e6fca',
    500: '#3538b2',
    950: '#000000',
  },
}
SCSS
$custom: #3538b2;
$custom-light: #7e6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3538b2",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 238.56,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42429,
    "c": 0.18808,
    "h": 273.9
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#3538B2
secondary
#C5C37E
accent
#DA4ADD
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3538B2

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

Preview Lab → · Contrast checker → · Palette generator →

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