#303ABE#303ABE

#303ABE is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.6% C 0.202 H 271.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#303ABE
RGBrgb(48, 58, 190)
HSLhsl(236, 60%, 47%)
HSVhsv(236, 75%, 75%)
CMYKcmyk(74.7%, 69.5%, 0%, 25.5%)
CIE-LABlab(32.64, 41.35, -69.92)
CIE-LCHlch(32.64, 81.23, 300.60°)
OKLaboklab(43.63% 0.0045 -0.2023)
OKLCHoklch(43.63% 0.202 271.3)
XYZxyz(12.0231, 7.3709, 49.4943)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303ABE #BEB430
analogous
#3081BE #303ABE #6D30BE
triadic
#303ABE #BE303A #3ABE30
tetradic
#303ABE #BE3081 #BEB430 #30BE6D
square
#303ABE #BE3081 #BEB430 #30BE6D
split-complementary
#303ABE #BE6D30 #81BE30
monochromatic
#171C5C #242B8D #303ABE #5760D4 #888EE1

Accessibility & contrast

On white

8.49
#303ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#303ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303ABE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303ABE#FFFFFF#000000##FFFFFF
##303ABE1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0046BC
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #303abe;
/* rgb */ color: rgb(48, 58, 190);
/* oklch */ color: oklch(43.6% 0.202 271.3);
Tailwind
colors: {
  custom: {
    50: '#7e71d3',
    500: '#303abe',
    950: '#000000',
  },
}
SCSS
$custom: #303abe;
$custom-light: #7e71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#303abe",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 235.775,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4363,
    "c": 0.20238,
    "h": 271.3
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#303ABE
secondary
#CBC57F
accent
#D845E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #303ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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