#303DA3#303DA3

#303DA3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.164 H 271.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#303DA3
RGBrgb(48, 61, 163)
HSLhsl(233, 55%, 41%)
HSVhsv(233, 71%, 64%)
CMYKcmyk(70.6%, 62.6%, 0%, 36.1%)
CIE-LABlab(30.90, 29.85, -56.69)
CIE-LCHlch(30.90, 64.07, 297.77°)
OKLaboklab(41.62% 0.0047 -0.1636)
OKLCHoklch(41.62% 0.164 271.6)
XYZxyz(9.4963, 6.6093, 35.4185)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DA3 #A39630
analogous
#3077A3 #303DA3 #5D30A3
triadic
#303DA3 #A3303D #3DA330
tetradic
#303DA3 #A33077 #A39630 #30A35D
square
#303DA3 #A33077 #A39630 #30A35D
split-complementary
#303DA3 #A35D30 #77A330
monochromatic
#141A44 #222B74 #303DA3 #4756C9 #7781D7

Accessibility & contrast

On white

9.04
#303DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#303DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DA3
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DA3#FFFFFF#000000##FFFFFF
##303DA31.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303da3;
/* rgb */ color: rgb(48, 61, 163);
/* oklch */ color: oklch(41.6% 0.164 271.6);
Tailwind
colors: {
  custom: {
    50: '#7872bf',
    500: '#303da3',
    950: '#000000',
  },
}
SCSS
$custom: #303da3;
$custom-light: #7872bf;
$custom-dark: #000000;
JSON
{
  "hex": "#303da3",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 233.217,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41615,
    "c": 0.16366,
    "h": 271.6
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#303DA3
secondary
#BFB670
accent
#CD4ADE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #303DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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