#303E92#303E92

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

Color values

HEX#303E92
RGBrgb(48, 62, 146)
HSLhsl(231, 51%, 38%)
HSVhsv(231, 67%, 57%)
CMYKcmyk(67.1%, 57.5%, 0%, 42.7%)
CIE-LABlab(29.78, 22.94, -48.17)
CIE-LCHlch(29.78, 53.35, 295.47°)
OKLaboklab(40.35% 0.0039 -0.1385)
OKLCHoklch(40.35% 0.139 271.6)
XYZxyz(8.1281, 6.1482, 27.9469)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E92 #928430
analogous
#306F92 #303E92 #533092
triadic
#303E92 #92303E #3E9230
tetradic
#303E92 #92306F #928430 #309253
square
#303E92 #92306F #928430 #309253
split-complementary
#303E92 #925330 #6F9230
monochromatic
#121736 #212A64 #303E92 #3F52C0 #6D7BCF

Accessibility & contrast

On white

9.42
#303E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303E92
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E92#FFFFFF#000000##FFFFFF
##303E921.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #303e92;
/* rgb */ color: rgb(48, 62, 146);
/* oklch */ color: oklch(40.4% 0.139 271.6);
Tailwind
colors: {
  custom: {
    50: '#7473b3',
    500: '#303e92',
    950: '#000000',
  },
}
SCSS
$custom: #303e92;
$custom-light: #7473b3;
$custom-dark: #000000;
JSON
{
  "hex": "#303e92",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 146
  },
  "hsl": {
    "h": 231.429,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40354,
    "c": 0.13859,
    "h": 271.6
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #303E92

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

Preview Lab → · Contrast checker → · Palette generator →

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