#303594#303594

#303594 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.153 H 274.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#303594
RGBrgb(48, 53, 148)
HSLhsl(237, 51%, 38%)
HSVhsv(237, 68%, 58%)
CMYKcmyk(67.6%, 64.2%, 0%, 42%)
CIE-LABlab(27.61, 29.66, -52.94)
CIE-LCHlch(27.61, 60.68, 299.26°)
OKLaboklab(38.79% 0.0117 -0.1527)
OKLCHoklch(38.79% 0.153 274.4)
XYZxyz(7.8356, 5.3120, 28.6236)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303594 #948F30
analogous
#306794 #303594 #5D3094
triadic
#303594 #943035 #359430
tetradic
#303594 #943067 #948F30 #30945D
square
#303594 #943067 #948F30 #30945D
split-complementary
#303594 #945D30 #679430
monochromatic
#121438 #212466 #303594 #4047C1 #6E73D0

Accessibility & contrast

On white

10.18
#303594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#303594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303594
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303594#FFFFFF#000000##FFFFFF
##3035941.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #303594;
/* rgb */ color: rgb(48, 53, 148);
/* oklch */ color: oklch(38.8% 0.153 274.4);
Tailwind
colors: {
  custom: {
    50: '#756cb4',
    500: '#303594',
    950: '#000000',
  },
}
SCSS
$custom: #303594;
$custom-light: #756cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#303594",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 148
  },
  "hsl": {
    "h": 237,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38792,
    "c": 0.15311,
    "h": 274.4
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#303594
secondary
#B8B468
accent
#D34DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303594

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

Preview Lab → · Contrast checker → · Palette generator →

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