#303BC1#303BC1

#303BC1 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.1% C 0.205 H 271.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#303BC1
RGBrgb(48, 59, 193)
HSLhsl(235, 60%, 47%)
HSVhsv(235, 75%, 76%)
CMYKcmyk(75.1%, 69.4%, 0%, 24.3%)
CIE-LABlab(33.15, 41.79, -70.85)
CIE-LCHlch(33.15, 82.25, 300.53°)
OKLaboklab(44.09% 0.0037 -0.205)
OKLCHoklch(44.09% 0.205 271)
XYZxyz(12.4053, 7.6052, 51.2559)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303BC1 #C1B630
analogous
#3084C1 #303BC1 #6D30C1
triadic
#303BC1 #C1303B #3BC130
tetradic
#303BC1 #C13084 #C1B630 #30C16D
square
#303BC1 #C13084 #C1B630 #30C16D
split-complementary
#303BC1 #C16D30 #84C130
monochromatic
#181D5F #242C90 #303BC1 #5962D6 #8A90E2

Accessibility & contrast

On white

8.33
#303BC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303BC1
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303BC1#FFFFFF#000000##FFFFFF
##303BC11.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #303bc1;
/* rgb */ color: rgb(48, 59, 193);
/* oklch */ color: oklch(44.1% 0.205 271.0);
Tailwind
colors: {
  custom: {
    50: '#7f71d5',
    500: '#303bc1',
    950: '#000000',
  },
}
SCSS
$custom: #303bc1;
$custom-light: #7f71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#303bc1",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 235.448,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44086,
    "c": 0.20506,
    "h": 271
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#303BC1
secondary
#CCC681
accent
#D744E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #303BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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