#303BBF#303BBF

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

Color values

HEX#303BBF
RGBrgb(48, 59, 191)
HSLhsl(235, 60%, 47%)
HSVhsv(235, 75%, 75%)
CMYKcmyk(74.9%, 69.1%, 0%, 25.1%)
CIE-LABlab(32.96, 41.09, -69.99)
CIE-LCHlch(32.96, 81.16, 300.42°)
OKLaboklab(43.89% 0.0039 -0.2025)
OKLCHoklch(43.89% 0.203 271.1)
XYZxyz(12.1837, 7.5166, 50.0889)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303BBF #BFB430
analogous
#3082BF #303BBF #6D30BF
triadic
#303BBF #BF303B #3BBF30
tetradic
#303BBF #BF3082 #BFB430 #30BF6D
square
#303BBF #BF3082 #BFB430 #30BF6D
split-complementary
#303BBF #BF6D30 #82BF30
monochromatic
#171D5D #242C8E #303BBF #5761D5 #888FE1

Accessibility & contrast

On white

8.39
#303BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#303BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303BBF
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303BBF#FFFFFF#000000##FFFFFF
##303BBF1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005F78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #303bbf;
/* rgb */ color: rgb(48, 59, 191);
/* oklch */ color: oklch(43.9% 0.203 271.1);
Tailwind
colors: {
  custom: {
    50: '#7f71d3',
    500: '#303bbf',
    950: '#000000',
  },
}
SCSS
$custom: #303bbf;
$custom-light: #7f71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#303bbf",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 235.385,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43889,
    "c": 0.20256,
    "h": 271.1
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #303BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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