#303EB3#303EB3

#303EB3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.184 H 271.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#303EB3
RGBrgb(48, 62, 179)
HSLhsl(234, 58%, 45%)
HSVhsv(234, 73%, 70%)
CMYKcmyk(73.2%, 65.4%, 0%, 29.8%)
CIE-LABlab(32.54, 34.99, -63.58)
CIE-LCHlch(32.54, 72.57, 298.83°)
OKLaboklab(43.25% 0.0032 -0.1838)
OKLCHoklch(43.25% 0.184 271)
XYZxyz(11.0755, 7.3272, 43.4697)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303EB3 #B3A530
analogous
#3080B3 #303EB3 #6430B3
triadic
#303EB3 #B3303E #3EB330
tetradic
#303EB3 #B33080 #B3A530 #30B364
square
#303EB3 #B33080 #B3A530 #30B364
split-complementary
#303EB3 #B36430 #80B330
monochromatic
#161D52 #232D83 #303EB3 #505ED0 #808ADD

Accessibility & contrast

On white

8.52
#303EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#303EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303EB3
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303EB3#FFFFFF#000000##FFFFFF
##303EB31.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #303eb3;
/* rgb */ color: rgb(48, 62, 179);
/* oklch */ color: oklch(43.3% 0.184 271.0);
Tailwind
colors: {
  custom: {
    50: '#7c73cb',
    500: '#303eb3',
    950: '#000000',
  },
}
SCSS
$custom: #303eb3;
$custom-light: #7c73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#303eb3",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 233.588,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4325,
    "c": 0.18381,
    "h": 271
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#303EB3
secondary
#C6BE79
accent
#D047E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #303EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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