#303CC9#303CC9

#303CC9 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.0% C 0.214 H 270.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#303CC9
RGBrgb(48, 60, 201)
HSLhsl(235, 61%, 49%)
HSVhsv(235, 76%, 79%)
CMYKcmyk(76.1%, 70.1%, 0%, 21.2%)
CIE-LABlab(34.14, 43.94, -73.89)
CIE-LCHlch(34.14, 85.97, 300.74°)
OKLaboklab(45.04% 0.0022 -0.2139)
OKLCHoklch(45.04% 0.214 270.6)
XYZxyz(13.3738, 8.0757, 56.1009)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303CC9 #C9BD30
analogous
#3089C9 #303CC9 #7130C9
triadic
#303CC9 #C9303C #3CC930
tetradic
#303CC9 #C93089 #C9BD30 #30C971
square
#303CC9 #C93089 #C9BD30 #30C971
split-complementary
#303CC9 #C97130 #89C930
monochromatic
#181F66 #242D98 #303CC9 #5E67D8 #8F96E4

Accessibility & contrast

On white

8.03
#303CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#303CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303CC9
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303CC9#FFFFFF#000000##FFFFFF
##303CC91.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #303cc9;
/* rgb */ color: rgb(48, 60, 201);
/* oklch */ color: oklch(45.0% 0.214 270.6);
Tailwind
colors: {
  custom: {
    50: '#8172db',
    500: '#303cc9',
    950: '#000000',
  },
}
SCSS
$custom: #303cc9;
$custom-light: #8172db;
$custom-dark: #000000;
JSON
{
  "hex": "#303cc9",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 201
  },
  "hsl": {
    "h": 235.294,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45035,
    "c": 0.21392,
    "h": 270.6
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#303CC9
secondary
#CFC986
accent
#D843E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #303CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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