#303B93#303B93

#303B93 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.144 H 272.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#303B93
RGBrgb(48, 59, 147)
HSLhsl(233, 51%, 38%)
HSVhsv(233, 67%, 58%)
CMYKcmyk(67.3%, 59.9%, 0%, 42.4%)
CIE-LABlab(29.06, 25.32, -49.95)
CIE-LCHlch(29.06, 56.00, 296.88°)
OKLaboklab(39.84% 0.0066 -0.1438)
OKLCHoklch(39.84% 0.144 272.6)
XYZxyz(8.0476, 5.8622, 28.3055)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B93 #938830
analogous
#306C93 #303B93 #563093
triadic
#303B93 #93303B #3B9330
tetradic
#303B93 #93306C #938830 #309356
square
#303B93 #93306C #938830 #309356
split-complementary
#303B93 #935630 #6C9330
monochromatic
#121637 #212865 #303B93 #404EC1 #6E79D0

Accessibility & contrast

On white

9.67
#303B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#303B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B93
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B93#FFFFFF#000000##FFFFFF
##303B931.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #303b93;
/* rgb */ color: rgb(48, 59, 147);
/* oklch */ color: oklch(39.8% 0.144 272.6);
Tailwind
colors: {
  custom: {
    50: '#7570b3',
    500: '#303b93',
    950: '#000000',
  },
}
SCSS
$custom: #303b93;
$custom-light: #7570b3;
$custom-dark: #000000;
JSON
{
  "hex": "#303b93",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 147
  },
  "hsl": {
    "h": 233.333,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39841,
    "c": 0.14398,
    "h": 272.6
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#303B93
secondary
#B7AE68
accent
#CB4EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303B93

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

Preview Lab → · Contrast checker → · Palette generator →

#303B93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva