#303587#303587

#303587 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.135 H 275.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#303587
RGBrgb(48, 53, 135)
HSLhsl(237, 48%, 36%)
HSVhsv(237, 64%, 53%)
CMYKcmyk(64.4%, 60.7%, 0%, 47.1%)
CIE-LABlab(26.52, 24.96, -46.68)
CIE-LCHlch(26.52, 52.93, 298.14°)
OKLaboklab(37.65% 0.0122 -0.1343)
OKLCHoklch(37.65% 0.135 275.2)
XYZxyz(6.8638, 4.9233, 23.5056)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303587 #878230
analogous
#306087 #303587 #563087
triadic
#303587 #873035 #358730
tetradic
#303587 #873060 #878230 #308756
square
#303587 #873060 #878230 #308756
split-complementary
#303587 #875630 #608730
monochromatic
#10122D #20235A #303587 #4047B4 #686EC9

Accessibility & contrast

On white

10.58
#303587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#303587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303587
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303587#FFFFFF#000000##FFFFFF
##3035871.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #303587;
/* rgb */ color: rgb(48, 53, 135);
/* oklch */ color: oklch(37.6% 0.135 275.2);
Tailwind
colors: {
  custom: {
    50: '#736cab',
    500: '#303587',
    950: '#000000',
  },
}
SCSS
$custom: #303587;
$custom-light: #736cab;
$custom-dark: #000000;
JSON
{
  "hex": "#303587",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 236.552,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37648,
    "c": 0.13481,
    "h": 275.2
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#303587
secondary
#B1AC62
accent
#CF51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #303587

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

Preview Lab → · Contrast checker → · Palette generator →

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