#303FB9#303FB9

#303FB9 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.190 H 270.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#303FB9
RGBrgb(48, 63, 185)
HSLhsl(233, 59%, 46%)
HSVhsv(233, 74%, 73%)
CMYKcmyk(74.1%, 65.9%, 0%, 27.5%)
CIE-LABlab(33.32, 36.50, -65.86)
CIE-LCHlch(33.32, 75.30, 299.00°)
OKLaboklab(43.98% 0.0022 -0.1904)
OKLCHoklch(43.98% 0.19 270.6)
XYZxyz(11.7504, 7.6849, 46.7536)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303FB9 #B9AA30
analogous
#3083B9 #303FB9 #6630B9
triadic
#303FB9 #B9303F #3FB930
tetradic
#303FB9 #B93083 #B9AA30 #30B966
square
#303FB9 #B93083 #B9AA30 #30B966
split-complementary
#303FB9 #B96630 #83B930
monochromatic
#171E58 #232E88 #303FB9 #5462D3 #848EDF

Accessibility & contrast

On white

8.28
#303FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#303FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303FB9
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303FB9#FFFFFF#000000##FFFFFF
##303FB91.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #303fb9;
/* rgb */ color: rgb(48, 63, 185);
/* oklch */ color: oklch(44.0% 0.190 270.6);
Tailwind
colors: {
  custom: {
    50: '#7d74cf',
    500: '#303fb9',
    950: '#000000',
  },
}
SCSS
$custom: #303fb9;
$custom-light: #7d74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#303fb9",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 233.431,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43983,
    "c": 0.19045,
    "h": 270.6
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#303FB9
secondary
#C9C07C
accent
#D146E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #303FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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