#3538B7#3538B7

#3538B7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.194 H 273.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#3538B7
RGBrgb(53, 56, 183)
HSLhsl(239, 55%, 46%)
HSVhsv(239, 71%, 72%)
CMYKcmyk(71%, 69.4%, 0%, 28.2%)
CIE-LABlab(31.81, 40.68, -67.13)
CIE-LCHlch(31.81, 78.50, 301.21°)
OKLaboklab(42.91% 0.0121 -0.1941)
OKLCHoklch(42.91% 0.194 273.6)
XYZxyz(11.4268, 7.0030, 45.5401)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3538B7 #B7B435
analogous
#3579B7 #3538B7 #7335B7
triadic
#3538B7 #B73538 #38B735
tetradic
#3538B7 #B73579 #B7B435 #35B773
square
#3538B7 #B73579 #B7B435 #35B773
split-complementary
#3538B7 #B77335 #79B735
monochromatic
#1A1B58 #272988 #3538B7 #5A5DCF #898BDD

Accessibility & contrast

On white

8.75
#3538B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3538B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3538B7
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3538B7#FFFFFF#000000##FFFFFF
##3538B71.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3538b7;
/* rgb */ color: rgb(53, 56, 183);
/* oklch */ color: oklch(42.9% 0.194 273.6);
Tailwind
colors: {
  custom: {
    50: '#7f6fce',
    500: '#3538b7',
    950: '#000000',
  },
}
SCSS
$custom: #3538b7;
$custom-light: #7f6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3538b7",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 238.615,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42912,
    "c": 0.19445,
    "h": 273.6
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#3538B7
secondary
#C7C581
accent
#DB49DE
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3538B7

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

Preview Lab → · Contrast checker → · Palette generator →

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