#303572#303572

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

Color values

HEX#303572
RGBrgb(48, 53, 114)
HSLhsl(235, 41%, 32%)
HSVhsv(235, 58%, 45%)
CMYKcmyk(57.9%, 53.5%, 0%, 55.3%)
CIE-LABlab(24.92, 17.35, -36.02)
CIE-LCHlch(24.92, 39.98, 295.73°)
OKLaboklab(35.95% 0.0114 -0.1029)
OKLCHoklch(35.95% 0.104 276.3)
XYZxyz(5.5283, 4.3891, 16.4722)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303572 #726D30
analogous
#305672 #303572 #4C3072
triadic
#303572 #723035 #357230
tetradic
#303572 #723056 #726D30 #30724C
square
#303572 #723056 #726D30 #30724C
split-complementary
#303572 #724C30 #567230
monochromatic
#0C0D1C #1E2147 #303572 #42499D #6067BC

Accessibility & contrast

On white

11.18
#303572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#303572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303572
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303572#FFFFFF#000000##FFFFFF
##3035721.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E74
Deuteranopia (green-blind)
#0A3871
Tritanopia (blue-blind)
#0E434E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #303572;
/* rgb */ color: rgb(48, 53, 114);
/* oklch */ color: oklch(35.9% 0.104 276.3);
Tailwind
colors: {
  custom: {
    50: '#6e6c9b',
    500: '#303572',
    950: '#000000',
  },
}
SCSS
$custom: #303572;
$custom-light: #6e6c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#303572",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 235.455,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35949,
    "c": 0.10355,
    "h": 276.3
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#303572
secondary
#A39E5B
accent
#C757D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #303572

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

Preview Lab → · Contrast checker → · Palette generator →

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