#303BBE#303BBE

#303BBE is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 43.8% C 0.201 H 271.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#303BBE
RGBrgb(48, 59, 190)
HSLhsl(235, 60%, 47%)
HSVhsv(235, 75%, 75%)
CMYKcmyk(74.7%, 68.9%, 0%, 25.5%)
CIE-LABlab(32.86, 40.75, -69.56)
CIE-LCHlch(32.86, 80.61, 300.36°)
OKLaboklab(43.79% 0.004 -0.2013)
OKLCHoklch(43.79% 0.201 271.1)
XYZxyz(12.0740, 7.4727, 49.5113)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303BBE #BEB330
analogous
#3082BE #303BBE #6C30BE
triadic
#303BBE #BE303B #3BBE30
tetradic
#303BBE #BE3082 #BEB330 #30BE6C
square
#303BBE #BE3082 #BEB330 #30BE6C
split-complementary
#303BBE #BE6C30 #82BE30
monochromatic
#171D5C #242C8D #303BBE #5760D4 #888EE1

Accessibility & contrast

On white

8.42
#303BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#303BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303BBE
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303BBE#FFFFFF#000000##FFFFFF
##303BBE1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0046BC
Tritanopia (blue-blind)
#005F78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #303bbe;
/* rgb */ color: rgb(48, 59, 190);
/* oklch */ color: oklch(43.8% 0.201 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e71d3',
    500: '#303bbe',
    950: '#000000',
  },
}
SCSS
$custom: #303bbe;
$custom-light: #7e71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#303bbe",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 235.352,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43791,
    "c": 0.2013,
    "h": 271.1
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#303BBE
secondary
#CBC57F
accent
#D745E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #303BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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