#3538AF#3538AF

#3538AF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.184 H 274.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#3538AF
RGBrgb(53, 56, 175)
HSLhsl(239, 54%, 45%)
HSVhsv(239, 70%, 69%)
CMYKcmyk(69.7%, 68%, 0%, 31.4%)
CIE-LABlab(31.07, 37.94, -63.60)
CIE-LCHlch(31.07, 74.06, 300.81°)
OKLaboklab(42.14% 0.0131 -0.1838)
OKLCHoklch(42.14% 0.184 274.1)
XYZxyz(10.6177, 6.6794, 41.2788)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538AF #AFAC35
analogous
#3575AF #3538AF #6F35AF
triadic
#3538AF #AF3538 #38AF35
tetradic
#3538AF #AF3575 #AFAC35 #35AF6F
square
#3538AF #AF3575 #AFAC35 #35AF6F
split-complementary
#3538AF #AF6F35 #75AF35
monochromatic
#191A51 #272980 #3538AF #5658CC #8587DA

Accessibility & contrast

On white

8.99
#3538AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3538AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3538AF
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3538AF#FFFFFF#000000##FFFFFF
##3538AF1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3538af;
/* rgb */ color: rgb(53, 56, 175);
/* oklch */ color: oklch(42.1% 0.184 274.1);
Tailwind
colors: {
  custom: {
    50: '#7d6fc8',
    500: '#3538af',
    950: '#000000',
  },
}
SCSS
$custom: #3538af;
$custom-light: #7d6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3538af",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 238.525,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42143,
    "c": 0.18422,
    "h": 274.1
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#3538AF
secondary
#C4C27C
accent
#D94BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3538AF

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

Preview Lab → · Contrast checker → · Palette generator →

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