#303DBB#303DBB

#303DBB is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.195 H 270.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#303DBB
RGBrgb(48, 61, 187)
HSLhsl(234, 59%, 46%)
HSVhsv(234, 74%, 73%)
CMYKcmyk(74.3%, 67.4%, 0%, 26.7%)
CIE-LABlab(33.03, 38.46, -67.50)
CIE-LCHlch(33.03, 77.69, 299.68°)
OKLaboklab(43.83% 0.0032 -0.1953)
OKLCHoklch(43.83% 0.195 270.9)
XYZxyz(11.8543, 7.5525, 47.8371)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DBB #BBAE30
analogous
#3082BB #303DBB #6830BB
triadic
#303DBB #BB303D #3DBB30
tetradic
#303DBB #BB3082 #BBAE30 #30BB68
square
#303DBB #BB3082 #BBAE30 #30BB68
split-complementary
#303DBB #BB6830 #82BB30
monochromatic
#171D5A #232D8A #303DBB #5561D3 #868EE0

Accessibility & contrast

On white

8.36
#303DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#303DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DBB
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DBB#FFFFFF#000000##FFFFFF
##303DBB1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #303dbb;
/* rgb */ color: rgb(48, 61, 187);
/* oklch */ color: oklch(43.8% 0.195 270.9);
Tailwind
colors: {
  custom: {
    50: '#7d73d1',
    500: '#303dbb',
    950: '#000000',
  },
}
SCSS
$custom: #303dbb;
$custom-light: #7d73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#303dbb",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 234.388,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43831,
    "c": 0.1953,
    "h": 270.9
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#303DBB
secondary
#C9C27D
accent
#D445E2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #303DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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