#303AB0#303AB0

#303AB0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.185 H 271.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#303AB0
RGBrgb(48, 58, 176)
HSLhsl(235, 57%, 44%)
HSVhsv(235, 73%, 69%)
CMYKcmyk(72.7%, 67%, 0%, 31%)
CIE-LABlab(31.32, 36.45, -63.79)
CIE-LCHlch(31.32, 73.47, 299.74°)
OKLaboklab(42.28% 0.006 -0.1844)
OKLCHoklch(42.28% 0.185 271.9)
XYZxyz(10.5658, 6.7880, 41.8193)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303AB0 #B0A630
analogous
#307AB0 #303AB0 #6630B0
triadic
#303AB0 #B0303A #3AB030
tetradic
#303AB0 #B0307A #B0A630 #30B066
square
#303AB0 #B0307A #B0A630 #30B066
split-complementary
#303AB0 #B06630 #7AB030
monochromatic
#161A50 #232A80 #303AB0 #4E58CF #7E86DC

Accessibility & contrast

On white

8.91
#303AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#303AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303AB0
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303AB0#FFFFFF#000000##FFFFFF
##303AB01.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #303ab0;
/* rgb */ color: rgb(48, 58, 176);
/* oklch */ color: oklch(42.3% 0.185 271.9);
Tailwind
colors: {
  custom: {
    50: '#7b70c9',
    500: '#303ab0',
    950: '#000000',
  },
}
SCSS
$custom: #303ab0;
$custom-light: #7b70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#303ab0",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 235.313,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.18453,
    "h": 271.9
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#303AB0
secondary
#C5BF77
accent
#D447E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #303AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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