#303CBE#303CBE

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

Color values

HEX#303CBE
RGBrgb(48, 60, 190)
HSLhsl(235, 60%, 47%)
HSVhsv(235, 75%, 75%)
CMYKcmyk(74.7%, 68.4%, 0%, 25.5%)
CIE-LABlab(33.08, 40.13, -69.18)
CIE-LCHlch(33.08, 79.98, 300.12°)
OKLaboklab(43.95% 0.0035 -0.2002)
OKLCHoklch(43.95% 0.2 271)
XYZxyz(12.1259, 7.5765, 49.5286)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303CBE #BEB230
analogous
#3083BE #303CBE #6B30BE
triadic
#303CBE #BE303C #3CBE30
tetradic
#303CBE #BE3083 #BEB230 #30BE6B
square
#303CBE #BE3083 #BEB230 #30BE6B
split-complementary
#303CBE #BE6B30 #83BE30
monochromatic
#171D5C #242D8D #303CBE #5761D4 #888FE1

Accessibility & contrast

On white

8.35
#303CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303CBE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303CBE#FFFFFF#000000##FFFFFF
##303CBE1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #303cbe;
/* rgb */ color: rgb(48, 60, 190);
/* oklch */ color: oklch(44.0% 0.200 271.0);
Tailwind
colors: {
  custom: {
    50: '#7e72d3',
    500: '#303cbe',
    950: '#000000',
  },
}
SCSS
$custom: #303cbe;
$custom-light: #7e72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#303cbe",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 234.93,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43954,
    "c": 0.20021,
    "h": 271
  },
  "luminance": 0.07578
}

Semantic roles & 50–950 ramp

primary
#303CBE
secondary
#CBC47F
accent
#D545E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #303CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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