#303EAE#303EAE

#303EAE is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.177 H 271.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#303EAE
RGBrgb(48, 62, 174)
HSLhsl(233, 57%, 44%)
HSVhsv(233, 72%, 68%)
CMYKcmyk(72.4%, 64.4%, 0%, 31.8%)
CIE-LABlab(32.10, 33.19, -61.33)
CIE-LCHlch(32.10, 69.73, 298.43°)
OKLaboklab(42.79% 0.0035 -0.1772)
OKLCHoklch(42.79% 0.177 271.1)
XYZxyz(10.5789, 7.1285, 40.8546)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303EAE #AEA030
analogous
#307DAE #303EAE #6130AE
triadic
#303EAE #AE303E #3EAE30
tetradic
#303EAE #AE307D #AEA030 #30AE61
square
#303EAE #AE307D #AEA030 #30AE61
split-complementary
#303EAE #AE6130 #7DAE30
monochromatic
#161C4E #232D7E #303EAE #4D5CCE #7D88DB

Accessibility & contrast

On white

8.66
#303EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#303EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303EAE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303EAE#FFFFFF#000000##FFFFFF
##303EAE1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303eae;
/* rgb */ color: rgb(48, 62, 174);
/* oklch */ color: oklch(42.8% 0.177 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a73c7',
    500: '#303eae',
    950: '#000000',
  },
}
SCSS
$custom: #303eae;
$custom-light: #7a73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#303eae",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 233.333,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42789,
    "c": 0.17721,
    "h": 271.1
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#303EAE
secondary
#C4BB76
accent
#CF48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #303EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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