#303EB0#303EB0

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

Color values

HEX#303EB0
RGBrgb(48, 62, 176)
HSLhsl(233, 57%, 44%)
HSVhsv(233, 73%, 69%)
CMYKcmyk(72.7%, 64.8%, 0%, 31%)
CIE-LABlab(32.27, 33.92, -62.23)
CIE-LCHlch(32.27, 70.87, 298.59°)
OKLaboklab(42.97% 0.0034 -0.1798)
OKLCHoklch(42.97% 0.18 271.1)
XYZxyz(10.7754, 7.2071, 41.8891)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303EB0 #B0A230
analogous
#307EB0 #303EB0 #6230B0
triadic
#303EB0 #B0303E #3EB030
tetradic
#303EB0 #B0307E #B0A230 #30B062
square
#303EB0 #B0307E #B0A230 #30B062
split-complementary
#303EB0 #B06230 #7EB030
monochromatic
#161C50 #232D80 #303EB0 #4E5CCF #7E89DC

Accessibility & contrast

On white

8.60
#303EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#303EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303EB0
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303EB0#FFFFFF#000000##FFFFFF
##303EB01.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #303eb0;
/* rgb */ color: rgb(48, 62, 176);
/* oklch */ color: oklch(43.0% 0.180 271.1);
Tailwind
colors: {
  custom: {
    50: '#7b73c9',
    500: '#303eb0',
    950: '#000000',
  },
}
SCSS
$custom: #303eb0;
$custom-light: #7b73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#303eb0",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 233.438,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42973,
    "c": 0.17986,
    "h": 271.1
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#303EB0
secondary
#C5BC77
accent
#D047E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #303EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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