#303ABB#303ABB

#303ABB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.199 H 271.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#303ABB
RGBrgb(48, 58, 187)
HSLhsl(236, 59%, 46%)
HSVhsv(236, 74%, 73%)
CMYKcmyk(74.3%, 69%, 0%, 26.7%)
CIE-LABlab(32.35, 40.31, -68.63)
CIE-LCHlch(32.35, 79.59, 300.43°)
OKLaboklab(43.34% 0.0049 -0.1985)
OKLCHoklch(43.34% 0.199 271.4)
XYZxyz(11.6986, 7.2411, 47.7852)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303ABB #BBB130
analogous
#307FBB #303ABB #6B30BB
triadic
#303ABB #BB303A #3ABB30
tetradic
#303ABB #BB307F #BBB130 #30BB6B
square
#303ABB #BB307F #BBB130 #30BB6B
split-complementary
#303ABB #BB6B30 #7FBB30
monochromatic
#171C5A #232B8A #303ABB #555ED3 #868CE0

Accessibility & contrast

On white

8.58
#303ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#303ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303ABB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303ABB#FFFFFF#000000##FFFFFF
##303ABB1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #303abb;
/* rgb */ color: rgb(48, 58, 187);
/* oklch */ color: oklch(43.3% 0.199 271.4);
Tailwind
colors: {
  custom: {
    50: '#7e71d1',
    500: '#303abb',
    950: '#000000',
  },
}
SCSS
$custom: #303abb;
$custom-light: #7e71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#303abb",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 235.683,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43336,
    "c": 0.19861,
    "h": 271.4
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#303ABB
secondary
#C9C47D
accent
#D745E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #303ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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