#303E93#303E93

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

Color values

HEX#303E93
RGBrgb(48, 62, 147)
HSLhsl(232, 51%, 38%)
HSVhsv(232, 67%, 58%)
CMYKcmyk(67.3%, 57.8%, 0%, 42.4%)
CIE-LABlab(29.86, 23.31, -48.65)
CIE-LCHlch(29.86, 53.95, 295.60°)
OKLaboklab(40.44% 0.0039 -0.14)
OKLCHoklch(40.44% 0.14 271.6)
XYZxyz(8.2062, 6.1795, 28.3584)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E93 #938530
analogous
#306F93 #303E93 #533093
triadic
#303E93 #93303E #3E9330
tetradic
#303E93 #93306F #938530 #309353
square
#303E93 #93306F #938530 #309353
split-complementary
#303E93 #935330 #6F9330
monochromatic
#121737 #212B65 #303E93 #4052C1 #6E7CD0

Accessibility & contrast

On white

9.39
#303E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#303E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303E93
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E93#FFFFFF#000000##FFFFFF
##303E931.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #303e93;
/* rgb */ color: rgb(48, 62, 147);
/* oklch */ color: oklch(40.4% 0.140 271.6);
Tailwind
colors: {
  custom: {
    50: '#7473b3',
    500: '#303e93',
    950: '#000000',
  },
}
SCSS
$custom: #303e93;
$custom-light: #7473b3;
$custom-dark: #000000;
JSON
{
  "hex": "#303e93",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 147
  },
  "hsl": {
    "h": 231.515,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40436,
    "c": 0.14003,
    "h": 271.6
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #303E93

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

Preview Lab → · Contrast checker → · Palette generator →

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