#303EB9#303EB9

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

Color values

HEX#303EB9
RGBrgb(48, 62, 185)
HSLhsl(234, 59%, 46%)
HSVhsv(234, 74%, 73%)
CMYKcmyk(74.1%, 66.5%, 0%, 27.5%)
CIE-LABlab(33.08, 37.13, -66.24)
CIE-LCHlch(33.08, 75.94, 299.27°)
OKLaboklab(43.81% 0.0028 -0.1916)
OKLCHoklch(43.81% 0.192 270.8)
XYZxyz(11.6955, 7.5752, 46.7353)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303EB9 #B9AB30
analogous
#3082B9 #303EB9 #6730B9
triadic
#303EB9 #B9303E #3EB930
tetradic
#303EB9 #B93082 #B9AB30 #30B967
square
#303EB9 #B93082 #B9AB30 #30B967
split-complementary
#303EB9 #B96730 #82B930
monochromatic
#171D58 #232E88 #303EB9 #5461D3 #848EDF

Accessibility & contrast

On white

8.35
#303EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#303EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303EB9
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303EB9#FFFFFF#000000##FFFFFF
##303EB91.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303eb9;
/* rgb */ color: rgb(48, 62, 185);
/* oklch */ color: oklch(43.8% 0.192 270.8);
Tailwind
colors: {
  custom: {
    50: '#7d73cf',
    500: '#303eb9',
    950: '#000000',
  },
}
SCSS
$custom: #303eb9;
$custom-light: #7d73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#303eb9",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 233.869,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43811,
    "c": 0.1916,
    "h": 270.8
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#303EB9
secondary
#C9C17C
accent
#D246E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #303EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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