#303E91#303E91

#303E91 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.137 H 271.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#303E91
RGBrgb(48, 62, 145)
HSLhsl(231, 50%, 38%)
HSVhsv(231, 67%, 57%)
CMYKcmyk(66.9%, 57.2%, 0%, 43.1%)
CIE-LABlab(29.71, 22.57, -47.68)
CIE-LCHlch(29.71, 52.75, 295.34°)
OKLaboklab(40.27% 0.0038 -0.1371)
OKLCHoklch(40.27% 0.137 271.6)
XYZxyz(8.0507, 6.1172, 27.5391)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E91 #918330
analogous
#306E91 #303E91 #523091
triadic
#303E91 #91303E #3E9130
tetradic
#303E91 #91306E #918330 #309152
square
#303E91 #91306E #918330 #309152
split-complementary
#303E91 #915230 #6E9130
monochromatic
#121735 #212A63 #303E91 #3F52BF #6D7BCF

Accessibility & contrast

On white

9.44
#303E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#303E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303E91
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E91#FFFFFF#000000##FFFFFF
##303E911.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #303e91;
/* rgb */ color: rgb(48, 62, 145);
/* oklch */ color: oklch(40.3% 0.137 271.6);
Tailwind
colors: {
  custom: {
    50: '#7473b2',
    500: '#303e91',
    950: '#000000',
  },
}
SCSS
$custom: #303e91;
$custom-light: #7473b2;
$custom-dark: #000000;
JSON
{
  "hex": "#303e91",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 231.34,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.13716,
    "h": 271.6
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#303E91
secondary
#B6AB67
accent
#C64EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #303E91

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

Preview Lab → · Contrast checker → · Palette generator →

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