#303B95#303B95

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

Color values

HEX#303B95
RGBrgb(48, 59, 149)
HSLhsl(233, 51%, 39%)
HSVhsv(233, 68%, 58%)
CMYKcmyk(67.8%, 60.4%, 0%, 41.6%)
CIE-LABlab(29.22, 26.06, -50.91)
CIE-LCHlch(29.22, 57.19, 297.10°)
OKLaboklab(40.01% 0.0066 -0.1467)
OKLCHoklch(40.01% 0.147 272.6)
XYZxyz(8.2059, 5.9255, 29.1392)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B95 #958A30
analogous
#306D95 #303B95 #573095
triadic
#303B95 #95303B #3B9530
tetradic
#303B95 #95306D #958A30 #309557
square
#303B95 #95306D #958A30 #309557
split-complementary
#303B95 #955730 #6D9530
monochromatic
#121638 #212967 #303B95 #414FC2 #6F79D1

Accessibility & contrast

On white

9.61
#303B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#303B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B95
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B95#FFFFFF#000000##FFFFFF
##303B951.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #303b95;
/* rgb */ color: rgb(48, 59, 149);
/* oklch */ color: oklch(40.0% 0.147 272.6);
Tailwind
colors: {
  custom: {
    50: '#7570b5',
    500: '#303b95',
    950: '#000000',
  },
}
SCSS
$custom: #303b95;
$custom-light: #7570b5;
$custom-dark: #000000;
JSON
{
  "hex": "#303b95",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 233.465,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40012,
    "c": 0.14681,
    "h": 272.6
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#303B95
secondary
#B8AF69
accent
#CB4DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303B95

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

Preview Lab → · Contrast checker → · Palette generator →

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