#3538AB#3538AB

#3538AB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.179 H 274.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3538AB
RGBrgb(53, 56, 171)
HSLhsl(238, 53%, 44%)
HSVhsv(238, 69%, 67%)
CMYKcmyk(69%, 67.3%, 0%, 32.9%)
CIE-LABlab(30.70, 36.55, -61.81)
CIE-LCHlch(30.70, 71.81, 300.60°)
OKLaboklab(41.77% 0.0135 -0.1785)
OKLCHoklch(41.77% 0.179 274.3)
XYZxyz(10.2306, 6.5246, 39.2404)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538AB #ABA835
analogous
#3573AB #3538AB #6D35AB
triadic
#3538AB #AB3538 #38AB35
tetradic
#3538AB #AB3573 #ABA835 #35AB6D
square
#3538AB #AB3573 #ABA835 #35AB6D
split-complementary
#3538AB #AB6D35 #73AB35
monochromatic
#18194E #27297C #3538AB #5356CA #8284D8

Accessibility & contrast

On white

9.11
#3538AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3538AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3538AB
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3538AB#FFFFFF#000000##FFFFFF
##3538AB1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3538ab;
/* rgb */ color: rgb(53, 56, 171);
/* oklch */ color: oklch(41.8% 0.179 274.3);
Tailwind
colors: {
  custom: {
    50: '#7c6fc5',
    500: '#3538ab',
    950: '#000000',
  },
}
SCSS
$custom: #3538ab;
$custom-light: #7c6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3538ab",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 238.475,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41766,
    "c": 0.17903,
    "h": 274.3
  },
  "luminance": 0.06526
}

Semantic roles & 50–950 ramp

primary
#3538AB
secondary
#C2C07A
accent
#D84CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3538AB

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

Preview Lab → · Contrast checker → · Palette generator →

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