#303ABF#303ABF

#303ABF is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.7% C 0.204 H 271.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#303ABF
RGBrgb(48, 58, 191)
HSLhsl(236, 60%, 47%)
HSVhsv(236, 75%, 75%)
CMYKcmyk(74.9%, 69.6%, 0%, 25.1%)
CIE-LABlab(32.73, 41.70, -70.35)
CIE-LCHlch(32.73, 81.78, 300.66°)
OKLaboklab(43.73% 0.0044 -0.2036)
OKLCHoklch(43.73% 0.204 271.2)
XYZxyz(12.1328, 7.4148, 50.0719)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303ABF #BFB530
analogous
#3082BF #303ABF #6E30BF
triadic
#303ABF #BF303A #3ABF30
tetradic
#303ABF #BF3082 #BFB530 #30BF6E
square
#303ABF #BF3082 #BFB530 #30BF6E
split-complementary
#303ABF #BF6E30 #82BF30
monochromatic
#171C5D #242B8E #303ABF #5760D5 #888EE1

Accessibility & contrast

On white

8.46
#303ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#303ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303ABF
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303ABF#FFFFFF#000000##FFFFFF
##303ABF1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303abf;
/* rgb */ color: rgb(48, 58, 191);
/* oklch */ color: oklch(43.7% 0.204 271.2);
Tailwind
colors: {
  custom: {
    50: '#7f71d4',
    500: '#303abf',
    950: '#000000',
  },
}
SCSS
$custom: #303abf;
$custom-light: #7f71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#303abf",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 235.804,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43729,
    "c": 0.20364,
    "h": 271.2
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#303ABF
secondary
#CBC680
accent
#D845E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #303ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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