#303EA3#303EA3

#303EA3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.162 H 271.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#303EA3
RGBrgb(48, 62, 163)
HSLhsl(233, 55%, 41%)
HSVhsv(233, 71%, 64%)
CMYKcmyk(70.6%, 62%, 0%, 36.1%)
CIE-LABlab(31.15, 29.20, -56.27)
CIE-LCHlch(31.15, 63.40, 297.43°)
OKLaboklab(41.8% 0.0039 -0.1624)
OKLCHoklch(41.8% 0.162 271.4)
XYZxyz(9.5502, 6.7170, 35.4364)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303EA3 #A39530
analogous
#3078A3 #303EA3 #5C30A3
triadic
#303EA3 #A3303E #3EA330
tetradic
#303EA3 #A33078 #A39530 #30A35C
square
#303EA3 #A33078 #A39530 #30A35C
split-complementary
#303EA3 #A35C30 #78A330
monochromatic
#141A44 #222C74 #303EA3 #4757C9 #7782D7

Accessibility & contrast

On white

8.96
#303EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#303EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303EA3
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303EA3#FFFFFF#000000##FFFFFF
##303EA31.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #303ea3;
/* rgb */ color: rgb(48, 62, 163);
/* oklch */ color: oklch(41.8% 0.162 271.4);
Tailwind
colors: {
  custom: {
    50: '#7873bf',
    500: '#303ea3',
    950: '#000000',
  },
}
SCSS
$custom: #303ea3;
$custom-light: #7873bf;
$custom-dark: #000000;
JSON
{
  "hex": "#303ea3",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 232.696,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41802,
    "c": 0.16241,
    "h": 271.4
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#303EA3
secondary
#BFB570
accent
#CC4ADE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #303EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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