#303571#303571

#303571 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.102 H 276.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#303571
RGBrgb(48, 53, 113)
HSLhsl(235, 40%, 32%)
HSVhsv(235, 58%, 44%)
CMYKcmyk(57.5%, 53.1%, 0%, 55.7%)
CIE-LABlab(24.85, 16.99, -35.49)
CIE-LCHlch(24.85, 39.35, 295.58°)
OKLaboklab(35.87% 0.0113 -0.1014)
OKLCHoklch(35.87% 0.102 276.4)
XYZxyz(5.4717, 4.3665, 16.1741)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303571 #716C30
analogous
#305671 #303571 #4C3071
triadic
#303571 #713035 #357130
tetradic
#303571 #713056 #716C30 #30714C
square
#303571 #713056 #716C30 #30714C
split-complementary
#303571 #714C30 #567130
monochromatic
#0C0D1B #1E2146 #303571 #42499C #6067BB

Accessibility & contrast

On white

11.21
#303571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#303571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303571
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303571#FFFFFF#000000##FFFFFF
##3035711.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#0D3870
Tritanopia (blue-blind)
#0F424D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #303571;
/* rgb */ color: rgb(48, 53, 113);
/* oklch */ color: oklch(35.9% 0.102 276.4);
Tailwind
colors: {
  custom: {
    50: '#6e6c9a',
    500: '#303571',
    950: '#000000',
  },
}
SCSS
$custom: #303571;
$custom-light: #6e6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#303571",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 235.385,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35873,
    "c": 0.102,
    "h": 276.4
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#303571
secondary
#A29D5B
accent
#C758D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #303571

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

Preview Lab → · Contrast checker → · Palette generator →

#303571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva