#303DAE#303DAE

#303DAE is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.178 H 271.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#303DAE
RGBrgb(48, 61, 174)
HSLhsl(234, 57%, 44%)
HSVhsv(234, 72%, 68%)
CMYKcmyk(72.4%, 64.9%, 0%, 31.8%)
CIE-LABlab(31.85, 33.84, -61.72)
CIE-LCHlch(31.85, 70.39, 298.73°)
OKLaboklab(42.61% 0.0042 -0.1784)
OKLCHoklch(42.61% 0.178 271.3)
XYZxyz(10.5251, 7.0208, 40.8367)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DAE #AEA130
analogous
#307CAE #303DAE #6230AE
triadic
#303DAE #AE303D #3DAE30
tetradic
#303DAE #AE307C #AEA130 #30AE62
square
#303DAE #AE307C #AEA130 #30AE62
split-complementary
#303DAE #AE6230 #7CAE30
monochromatic
#161B4E #232C7E #303DAE #4D5BCE #7D87DB

Accessibility & contrast

On white

8.73
#303DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#303DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DAE
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DAE#FFFFFF#000000##FFFFFF
##303DAE1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #303dae;
/* rgb */ color: rgb(48, 61, 174);
/* oklch */ color: oklch(42.6% 0.178 271.3);
Tailwind
colors: {
  custom: {
    50: '#7a72c7',
    500: '#303dae',
    950: '#000000',
  },
}
SCSS
$custom: #303dae;
$custom-light: #7a72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#303dae",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 233.81,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42611,
    "c": 0.17841,
    "h": 271.3
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#303DAE
secondary
#C4BC76
accent
#D048E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #303DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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