#303590#303590

#303590 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.148 H 274.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#303590
RGBrgb(48, 53, 144)
HSLhsl(237, 50%, 38%)
HSVhsv(237, 67%, 56%)
CMYKcmyk(66.7%, 63.2%, 0%, 43.5%)
CIE-LABlab(27.26, 28.22, -51.04)
CIE-LCHlch(27.26, 58.32, 298.94°)
OKLaboklab(38.43% 0.012 -0.1471)
OKLCHoklch(38.43% 0.148 274.6)
XYZxyz(7.5244, 5.1875, 26.9849)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303590 #908B30
analogous
#306590 #303590 #5B3090
triadic
#303590 #903035 #359030
tetradic
#303590 #903065 #908B30 #30905B
square
#303590 #903065 #908B30 #30905B
split-complementary
#303590 #905B30 #659030
monochromatic
#111334 #212462 #303590 #3F46BE #6C71CE

Accessibility & contrast

On white

10.31
#303590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#303590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303590
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303590#FFFFFF#000000##FFFFFF
##3035901.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #303590;
/* rgb */ color: rgb(48, 53, 144);
/* oklch */ color: oklch(38.4% 0.148 274.6);
Tailwind
colors: {
  custom: {
    50: '#746cb1',
    500: '#303590',
    950: '#000000',
  },
}
SCSS
$custom: #303590;
$custom-light: #746cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#303590",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 144
  },
  "hsl": {
    "h": 236.875,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38433,
    "c": 0.14756,
    "h": 274.6
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#303590
secondary
#B5B166
accent
#D24EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303590

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

Preview Lab → · Contrast checker → · Palette generator →

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