#303294#303294

#303294 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.157 H 275.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#303294
RGBrgb(48, 50, 148)
HSLhsl(239, 51%, 38%)
HSVhsv(239, 68%, 58%)
CMYKcmyk(67.6%, 66.2%, 0%, 42%)
CIE-LABlab(26.87, 31.60, -54.14)
CIE-LCHlch(26.87, 62.69, 300.27°)
OKLaboklab(38.25% 0.0142 -0.1562)
OKLCHoklch(38.25% 0.157 275.2)
XYZxyz(7.7031, 5.0470, 28.5795)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303294 #949230
analogous
#306494 #303294 #603094
triadic
#303294 #943032 #329430
tetradic
#303294 #943064 #949230 #309460
square
#303294 #943064 #949230 #309460
split-complementary
#303294 #946030 #649430
monochromatic
#121338 #212266 #303294 #4043C1 #6E70D0

Accessibility & contrast

On white

10.45
#303294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#303294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303294
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303294#FFFFFF#000000##FFFFFF
##3032941.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #303294;
/* rgb */ color: rgb(48, 50, 148);
/* oklch */ color: oklch(38.3% 0.157 275.2);
Tailwind
colors: {
  custom: {
    50: '#766ab4',
    500: '#303294',
    950: '#000000',
  },
}
SCSS
$custom: #303294;
$custom-light: #766ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#303294",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 238.8,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.15685,
    "h": 275.2
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#303294
secondary
#B8B668
accent
#D84DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #303294

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

Preview Lab → · Contrast checker → · Palette generator →

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