#303494#303494

#303494 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.154 H 274.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#303494
RGBrgb(48, 52, 148)
HSLhsl(238, 51%, 38%)
HSVhsv(238, 68%, 58%)
CMYKcmyk(67.6%, 64.9%, 0%, 42%)
CIE-LABlab(27.36, 30.31, -53.34)
CIE-LCHlch(27.36, 61.35, 299.60°)
OKLaboklab(38.61% 0.0126 -0.1538)
OKLCHoklch(38.61% 0.154 274.7)
XYZxyz(7.7904, 5.2218, 28.6086)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303494 #949030
analogous
#306694 #303494 #5E3094
triadic
#303494 #943034 #349430
tetradic
#303494 #943066 #949030 #30945E
square
#303494 #943066 #949030 #30945E
split-complementary
#303494 #945E30 #669430
monochromatic
#121438 #212466 #303494 #4045C1 #6E72D0

Accessibility & contrast

On white

10.27
#303494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303494
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303494#FFFFFF#000000##FFFFFF
##3034941.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303494;
/* rgb */ color: rgb(48, 52, 148);
/* oklch */ color: oklch(38.6% 0.154 274.7);
Tailwind
colors: {
  custom: {
    50: '#756bb4',
    500: '#303494',
    950: '#000000',
  },
}
SCSS
$custom: #303494;
$custom-light: #756bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#303494",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 148
  },
  "hsl": {
    "h": 237.6,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3861,
    "c": 0.15436,
    "h": 274.7
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #303494

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

Preview Lab → · Contrast checker → · Palette generator →

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