#303D95#303D95

#303D95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.144 H 271.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#303D95
RGBrgb(48, 61, 149)
HSLhsl(232, 51%, 39%)
HSVhsv(232, 68%, 58%)
CMYKcmyk(67.8%, 59.1%, 0%, 41.6%)
CIE-LABlab(29.75, 24.72, -50.06)
CIE-LCHlch(29.75, 55.83, 296.28°)
OKLaboklab(40.4% 0.0049 -0.1441)
OKLCHoklch(40.4% 0.144 271.9)
XYZxyz(8.3107, 6.1350, 29.1742)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D95 #958830
analogous
#306F95 #303D95 #553095
triadic
#303D95 #95303D #3D9530
tetradic
#303D95 #95306F #958830 #309555
square
#303D95 #95306F #958830 #309555
split-complementary
#303D95 #955530 #6F9530
monochromatic
#121738 #212A67 #303D95 #4151C2 #6F7BD1

Accessibility & contrast

On white

9.43
#303D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#303D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303D95
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303D95#FFFFFF#000000##FFFFFF
##303D951.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #303d95;
/* rgb */ color: rgb(48, 61, 149);
/* oklch */ color: oklch(40.4% 0.144 271.9);
Tailwind
colors: {
  custom: {
    50: '#7572b5',
    500: '#303d95',
    950: '#000000',
  },
}
SCSS
$custom: #303d95;
$custom-light: #7572b5;
$custom-dark: #000000;
JSON
{
  "hex": "#303d95",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 232.277,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40404,
    "c": 0.1442,
    "h": 271.9
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#303D95
secondary
#B8AE69
accent
#C94DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #303D95

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

Preview Lab → · Contrast checker → · Palette generator →

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