#303FCE#303FCE

#303FCE is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.0% C 0.217 H 270.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#303FCE
RGBrgb(48, 63, 206)
HSLhsl(234, 62%, 50%)
HSVhsv(234, 77%, 81%)
CMYKcmyk(76.7%, 69.4%, 0%, 19.2%)
CIE-LABlab(35.28, 43.87, -74.92)
CIE-LCHlch(35.28, 86.82, 300.35°)
OKLaboklab(46% 0.0003 -0.2169)
OKLCHoklch(46% 0.217 270.1)
XYZxyz(14.1332, 8.6381, 59.3030)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303FCE #CEBF30
analogous
#308ECE #303FCE #7030CE
triadic
#303FCE #CE303F #3FCE30
tetradic
#303FCE #CE308E #CEBF30 #30CE70
square
#303FCE #CE308E #CEBF30 #30CE70
split-complementary
#303FCE #CE7030 #8ECE30
monochromatic
#19216B #24309C #303FCE #616DDA #939BE6

Accessibility & contrast

On white

7.70
#303FCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#303FCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303FCE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303FCE#FFFFFF#000000##FFFFFF
##303FCE1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#004BCB
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #303fce;
/* rgb */ color: rgb(48, 63, 206);
/* oklch */ color: oklch(46.0% 0.217 270.1);
Tailwind
colors: {
  custom: {
    50: '#8275de',
    500: '#303fce',
    950: '#000000',
  },
}
SCSS
$custom: #303fce;
$custom-light: #8275de;
$custom-dark: #000000;
JSON
{
  "hex": "#303fce",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 234.304,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.21692,
    "h": 270.1
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#303FCE
secondary
#D1CA89
accent
#D643E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #303FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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