#3538AC#3538AC

#3538AC is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.180 H 274.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3538AC
RGBrgb(53, 56, 172)
HSLhsl(238, 53%, 44%)
HSVhsv(238, 69%, 67%)
CMYKcmyk(69.2%, 67.4%, 0%, 32.5%)
CIE-LABlab(30.79, 36.90, -62.26)
CIE-LCHlch(30.79, 72.37, 300.65°)
OKLaboklab(41.86% 0.0134 -0.1798)
OKLCHoklch(41.86% 0.18 274.3)
XYZxyz(10.3263, 6.5628, 39.7443)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538AC #ACA935
analogous
#3574AC #3538AC #6E35AC
triadic
#3538AC #AC3538 #38AC35
tetradic
#3538AC #AC3574 #ACA935 #35AC6E
square
#3538AC #AC3574 #ACA935 #35AC6E
split-complementary
#3538AC #AC6E35 #74AC35
monochromatic
#181A4E #27297D #3538AC #5457CA #8385D9

Accessibility & contrast

On white

9.08
#3538AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3538AC
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3538AC#FFFFFF#000000##FFFFFF
##3538AC1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3538ac;
/* rgb */ color: rgb(53, 56, 172);
/* oklch */ color: oklch(41.9% 0.180 274.3);
Tailwind
colors: {
  custom: {
    50: '#7c6fc6',
    500: '#3538ac',
    950: '#000000',
  },
}
SCSS
$custom: #3538ac;
$custom-light: #7c6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3538ac",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 238.487,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.18033,
    "h": 274.3
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#3538AC
secondary
#C2C07B
accent
#D94CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3538AC

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

Preview Lab → · Contrast checker → · Palette generator →

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