#303DCE#303DCE

#303DCE is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.7% C 0.219 H 270.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#303DCE
RGBrgb(48, 61, 206)
HSLhsl(235, 62%, 50%)
HSVhsv(235, 77%, 81%)
CMYKcmyk(76.7%, 70.4%, 0%, 19.2%)
CIE-LABlab(34.84, 45.06, -75.64)
CIE-LCHlch(34.84, 88.04, 300.78°)
OKLaboklab(45.69% 0.0012 -0.219)
OKLCHoklch(45.69% 0.219 270.3)
XYZxyz(14.0244, 8.4205, 59.2667)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DCE #CEC130
analogous
#308CCE #303DCE #7230CE
triadic
#303DCE #CE303D #3DCE30
tetradic
#303DCE #CE308C #CEC130 #30CE72
square
#303DCE #CE308C #CEC130 #30CE72
split-complementary
#303DCE #CE7230 #8CCE30
monochromatic
#19206B #242E9C #303DCE #616BDA #9399E6

Accessibility & contrast

On white

7.82
#303DCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#303DCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DCE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DCE#FFFFFF#000000##FFFFFF
##303DCE1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#004ACB
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #303dce;
/* rgb */ color: rgb(48, 61, 206);
/* oklch */ color: oklch(45.7% 0.219 270.3);
Tailwind
colors: {
  custom: {
    50: '#8273de',
    500: '#303dce',
    950: '#000000',
  },
}
SCSS
$custom: #303dce;
$custom-light: #8273de;
$custom-dark: #000000;
JSON
{
  "hex": "#303dce",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 235.063,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.219,
    "h": 270.3
  },
  "luminance": 0.08422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #303DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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