#303CB0#303CB0

#303CB0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.182 H 271.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#303CB0
RGBrgb(48, 60, 176)
HSLhsl(234, 57%, 44%)
HSVhsv(234, 73%, 69%)
CMYKcmyk(72.7%, 65.9%, 0%, 31%)
CIE-LABlab(31.79, 35.19, -63.02)
CIE-LCHlch(31.79, 72.18, 299.18°)
OKLaboklab(42.62% 0.0047 -0.1821)
OKLCHoklch(42.62% 0.182 271.5)
XYZxyz(10.6686, 6.9936, 41.8535)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303CB0 #B0A430
analogous
#307CB0 #303CB0 #6430B0
triadic
#303CB0 #B0303C #3CB030
tetradic
#303CB0 #B0307C #B0A430 #30B064
square
#303CB0 #B0307C #B0A430 #30B064
split-complementary
#303CB0 #B06430 #7CB030
monochromatic
#161B50 #232C80 #303CB0 #4E5ACF #7E87DC

Accessibility & contrast

On white

8.75
#303CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#303CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303CB0
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303CB0#FFFFFF#000000##FFFFFF
##303CB01.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #303cb0;
/* rgb */ color: rgb(48, 60, 176);
/* oklch */ color: oklch(42.6% 0.182 271.5);
Tailwind
colors: {
  custom: {
    50: '#7b72c9',
    500: '#303cb0',
    950: '#000000',
  },
}
SCSS
$custom: #303cb0;
$custom-light: #7b72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#303cb0",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 234.375,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4262,
    "c": 0.18221,
    "h": 271.5
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#303CB0
secondary
#C5BD77
accent
#D247E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #303CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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