#303FC5#303FC5

#303FC5 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.1% C 0.206 H 270.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#303FC5
RGBrgb(48, 63, 197)
HSLhsl(234, 61%, 48%)
HSVhsv(234, 76%, 77%)
CMYKcmyk(75.6%, 68%, 0%, 22.7%)
CIE-LABlab(34.42, 40.74, -71.09)
CIE-LCHlch(34.42, 81.94, 299.82°)
OKLaboklab(45.12% 0.0012 -0.2057)
OKLCHoklch(45.12% 0.206 270.3)
XYZxyz(13.0710, 8.2132, 53.7089)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303FC5 #C5B630
analogous
#3089C5 #303FC5 #6C30C5
triadic
#303FC5 #C5303F #3FC530
tetradic
#303FC5 #C53089 #C5B630 #30C56C
square
#303FC5 #C53089 #C5B630 #30C56C
split-complementary
#303FC5 #C56C30 #89C530
monochromatic
#182063 #242F94 #303FC5 #5B68D7 #8C95E3

Accessibility & contrast

On white

7.95
#303FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#303FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303FC5
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303FC5#FFFFFF#000000##FFFFFF
##303FC51.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004AC3
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #303fc5;
/* rgb */ color: rgb(48, 63, 197);
/* oklch */ color: oklch(45.1% 0.206 270.3);
Tailwind
colors: {
  custom: {
    50: '#8074d8',
    500: '#303fc5',
    950: '#000000',
  },
}
SCSS
$custom: #303fc5;
$custom-light: #8074d8;
$custom-dark: #000000;
JSON
{
  "hex": "#303fc5",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 233.96,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45124,
    "c": 0.20573,
    "h": 270.3
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#303FC5
secondary
#CDC684
accent
#D444E4
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #303FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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