#303FB0#303FB0

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

Color values

HEX#303FB0
RGBrgb(48, 63, 176)
HSLhsl(233, 57%, 44%)
HSVhsv(233, 73%, 69%)
CMYKcmyk(72.7%, 64.2%, 0%, 31%)
CIE-LABlab(32.52, 33.27, -61.83)
CIE-LCHlch(32.52, 70.21, 298.29°)
OKLaboklab(43.15% 0.0027 -0.1786)
OKLCHoklch(43.15% 0.179 270.9)
XYZxyz(10.8302, 7.3169, 41.9074)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303FB0 #B0A130
analogous
#307FB0 #303FB0 #6130B0
triadic
#303FB0 #B0303F #3FB030
tetradic
#303FB0 #B0307F #B0A130 #30B061
square
#303FB0 #B0307F #B0A130 #30B061
split-complementary
#303FB0 #B06130 #7FB030
monochromatic
#161D50 #232E80 #303FB0 #4E5DCF #7E89DC

Accessibility & contrast

On white

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

On black

2.46
#303FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##303FB0#FFFFFF#000000##FFFFFF
##303FB01.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #303fb0;
/* rgb */ color: rgb(48, 63, 176);
/* oklch */ color: oklch(43.2% 0.179 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b74c9',
    500: '#303fb0',
    950: '#000000',
  },
}
SCSS
$custom: #303fb0;
$custom-light: #7b74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#303fb0",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 232.969,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43152,
    "c": 0.17867,
    "h": 270.9
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#303FB0
secondary
#C5BC77
accent
#CE47E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #303FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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