#303BB0#303BB0

#303BB0 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.183 H 271.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#303BB0
RGBrgb(48, 59, 176)
HSLhsl(235, 57%, 44%)
HSVhsv(235, 73%, 69%)
CMYKcmyk(72.7%, 66.5%, 0%, 31%)
CIE-LABlab(31.55, 35.82, -63.41)
CIE-LCHlch(31.55, 72.83, 299.46°)
OKLaboklab(42.45% 0.0054 -0.1833)
OKLCHoklch(42.45% 0.183 271.7)
XYZxyz(10.6167, 6.8898, 41.8362)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303BB0 #B0A530
analogous
#307BB0 #303BB0 #6530B0
triadic
#303BB0 #B0303B #3BB030
tetradic
#303BB0 #B0307B #B0A530 #30B065
square
#303BB0 #B0307B #B0A530 #30B065
split-complementary
#303BB0 #B06530 #7BB030
monochromatic
#161B50 #232B80 #303BB0 #4E59CF #7E86DC

Accessibility & contrast

On white

8.83
#303BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#303BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303BB0
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303BB0#FFFFFF#000000##FFFFFF
##303BB01.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.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: #303bb0;
/* rgb */ color: rgb(48, 59, 176);
/* oklch */ color: oklch(42.4% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b71c9',
    500: '#303bb0',
    950: '#000000',
  },
}
SCSS
$custom: #303bb0;
$custom-light: #7b71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#303bb0",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 234.844,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42447,
    "c": 0.18338,
    "h": 271.7
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#303BB0
secondary
#C5BE77
accent
#D347E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #303BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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