#303FC1#303FC1

#303FC1 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.7% C 0.201 H 270.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#303FC1
RGBrgb(48, 63, 193)
HSLhsl(234, 60%, 47%)
HSVhsv(234, 75%, 76%)
CMYKcmyk(75.1%, 67.4%, 0%, 24.3%)
CIE-LABlab(34.05, 39.34, -69.36)
CIE-LCHlch(34.05, 79.74, 299.56°)
OKLaboklab(44.74% 0.0015 -0.2007)
OKLCHoklch(44.74% 0.201 270.4)
XYZxyz(12.6188, 8.0323, 51.3271)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303FC1 #C1B230
analogous
#3088C1 #303FC1 #6930C1
triadic
#303FC1 #C1303F #3FC130
tetradic
#303FC1 #C13088 #C1B230 #30C169
square
#303FC1 #C13088 #C1B230 #30C169
split-complementary
#303FC1 #C16930 #88C130
monochromatic
#181F5F #242F90 #303FC1 #5966D6 #8A93E2

Accessibility & contrast

On white

8.06
#303FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#303FC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303FC1
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303FC1#FFFFFF#000000##FFFFFF
##303FC11.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #303fc1;
/* rgb */ color: rgb(48, 63, 193);
/* oklch */ color: oklch(44.7% 0.201 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f74d5',
    500: '#303fc1',
    950: '#000000',
  },
}
SCSS
$custom: #303fc1;
$custom-light: #7f74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#303fc1",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 233.793,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4474,
    "c": 0.2007,
    "h": 270.4
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#303FC1
secondary
#CCC481
accent
#D344E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #303FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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