#303394#303394

#303394 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.156 H 274.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#303394
RGBrgb(48, 51, 148)
HSLhsl(238, 51%, 38%)
HSVhsv(238, 68%, 58%)
CMYKcmyk(67.6%, 65.5%, 0%, 42%)
CIE-LABlab(27.11, 30.95, -53.75)
CIE-LCHlch(27.11, 62.02, 299.94°)
OKLaboklab(38.43% 0.0134 -0.155)
OKLCHoklch(38.43% 0.156 274.9)
XYZxyz(7.7463, 5.1335, 28.5939)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303394 #949130
analogous
#306594 #303394 #5F3094
triadic
#303394 #943033 #339430
tetradic
#303394 #943065 #949130 #30945F
square
#303394 #943065 #949130 #30945F
split-complementary
#303394 #945F30 #659430
monochromatic
#121338 #212366 #303394 #4044C1 #6E71D0

Accessibility & contrast

On white

10.36
#303394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#303394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303394
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303394#FFFFFF#000000##FFFFFF
##3033941.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303394;
/* rgb */ color: rgb(48, 51, 148);
/* oklch */ color: oklch(38.4% 0.156 274.9);
Tailwind
colors: {
  custom: {
    50: '#756bb4',
    500: '#303394',
    950: '#000000',
  },
}
SCSS
$custom: #303394;
$custom-light: #756bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#303394",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 238.2,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3843,
    "c": 0.15562,
    "h": 274.9
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#303394
secondary
#B8B568
accent
#D64DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #303394

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

Preview Lab → · Contrast checker → · Palette generator →

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