#303ABD#303ABD

#303ABD is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.5% C 0.201 H 271.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#303ABD
RGBrgb(48, 58, 189)
HSLhsl(236, 59%, 46%)
HSVhsv(236, 75%, 74%)
CMYKcmyk(74.6%, 69.3%, 0%, 25.9%)
CIE-LABlab(32.54, 41.01, -69.49)
CIE-LCHlch(32.54, 80.69, 300.54°)
OKLaboklab(43.53% 0.0046 -0.2011)
OKLCHoklch(43.53% 0.201 271.3)
XYZxyz(11.9142, 7.3274, 48.9207)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303ABD #BDB330
analogous
#3081BD #303ABD #6D30BD
triadic
#303ABD #BD303A #3ABD30
tetradic
#303ABD #BD3081 #BDB330 #30BD6D
square
#303ABD #BD3081 #BDB330 #30BD6D
split-complementary
#303ABD #BD6D30 #81BD30
monochromatic
#171C5B #242B8C #303ABD #565FD4 #878DE0

Accessibility & contrast

On white

8.52
#303ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303ABD
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303ABD#FFFFFF#000000##FFFFFF
##303ABD1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0046BB
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #303abd;
/* rgb */ color: rgb(48, 58, 189);
/* oklch */ color: oklch(43.5% 0.201 271.3);
Tailwind
colors: {
  custom: {
    50: '#7e71d2',
    500: '#303abd',
    950: '#000000',
  },
}
SCSS
$custom: #303abd;
$custom-light: #7e71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#303abd",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 235.745,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43532,
    "c": 0.20113,
    "h": 271.3
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#303ABD
secondary
#CAC57F
accent
#D745E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #303ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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