#303FAE#303FAE

#303FAE is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.176 H 270.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#303FAE
RGBrgb(48, 63, 174)
HSLhsl(233, 57%, 44%)
HSVhsv(233, 72%, 68%)
CMYKcmyk(72.4%, 63.8%, 0%, 31.8%)
CIE-LABlab(32.34, 32.55, -60.92)
CIE-LCHlch(32.34, 69.07, 298.12°)
OKLaboklab(42.97% 0.0028 -0.176)
OKLCHoklch(42.97% 0.176 270.9)
XYZxyz(10.6338, 7.2383, 40.8729)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303FAE #AE9F30
analogous
#307EAE #303FAE #6030AE
triadic
#303FAE #AE303F #3FAE30
tetradic
#303FAE #AE307E #AE9F30 #30AE60
square
#303FAE #AE307E #AE9F30 #30AE60
split-complementary
#303FAE #AE6030 #7EAE30
monochromatic
#161C4E #232E7E #303FAE #4D5DCE #7D88DB

Accessibility & contrast

On white

8.58
#303FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#303FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303FAE
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303FAE#FFFFFF#000000##FFFFFF
##303FAE1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #303fae;
/* rgb */ color: rgb(48, 63, 174);
/* oklch */ color: oklch(43.0% 0.176 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a74c7',
    500: '#303fae',
    950: '#000000',
  },
}
SCSS
$custom: #303fae;
$custom-light: #7a74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#303fae",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 232.857,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4297,
    "c": 0.17602,
    "h": 270.9
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #303FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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