#303FC0#303FC0

#303FC0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.199 H 270.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#303FC0
RGBrgb(48, 63, 192)
HSLhsl(234, 60%, 47%)
HSVhsv(234, 75%, 75%)
CMYKcmyk(75%, 67.2%, 0%, 24.7%)
CIE-LABlab(33.96, 38.99, -68.93)
CIE-LCHlch(33.96, 79.19, 299.49°)
OKLaboklab(44.65% 0.0016 -0.1994)
OKLCHoklch(44.65% 0.199 270.5)
XYZxyz(12.5076, 7.9878, 50.7416)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303FC0 #C0B130
analogous
#3087C0 #303FC0 #6930C0
triadic
#303FC0 #C0303F #3FC030
tetradic
#303FC0 #C03087 #C0B130 #30C069
square
#303FC0 #C03087 #C0B130 #30C069
split-complementary
#303FC0 #C06930 #87C030
monochromatic
#181F5E #242F8F #303FC0 #5865D5 #8992E1

Accessibility & contrast

On white

8.08
#303FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#303FC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303FC0
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303FC0#FFFFFF#000000##FFFFFF
##303FC01.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0049BE
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #303fc0;
/* rgb */ color: rgb(48, 63, 192);
/* oklch */ color: oklch(44.6% 0.199 270.5);
Tailwind
colors: {
  custom: {
    50: '#7e74d4',
    500: '#303fc0',
    950: '#000000',
  },
}
SCSS
$custom: #303fc0;
$custom-light: #7e74d4;
$custom-dark: #000000;
JSON
{
  "hex": "#303fc0",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 233.75,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44645,
    "c": 0.19943,
    "h": 270.5
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#303FC0
secondary
#CBC480
accent
#D345E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #303FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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