#303AA3#303AA3

#303AA3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.167 H 272.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#303AA3
RGBrgb(48, 58, 163)
HSLhsl(235, 55%, 41%)
HSVhsv(235, 71%, 64%)
CMYKcmyk(70.6%, 64.4%, 0%, 36.1%)
CIE-LABlab(30.15, 31.81, -57.91)
CIE-LCHlch(30.15, 66.07, 298.78°)
OKLaboklab(41.06% 0.007 -0.1672)
OKLCHoklch(41.06% 0.167 272.4)
XYZxyz(9.3406, 6.2979, 35.3666)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303AA3 #A39930
analogous
#3074A3 #303AA3 #6030A3
triadic
#303AA3 #A3303A #3AA330
tetradic
#303AA3 #A33074 #A39930 #30A360
square
#303AA3 #A33074 #A39930 #30A360
split-complementary
#303AA3 #A36030 #74A330
monochromatic
#141844 #222974 #303AA3 #4753C9 #777FD7

Accessibility & contrast

On white

9.29
#303AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#303AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303AA3
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303AA3#FFFFFF#000000##FFFFFF
##303AA31.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #303aa3;
/* rgb */ color: rgb(48, 58, 163);
/* oklch */ color: oklch(41.1% 0.167 272.4);
Tailwind
colors: {
  custom: {
    50: '#7870bf',
    500: '#303aa3',
    950: '#000000',
  },
}
SCSS
$custom: #303aa3;
$custom-light: #7870bf;
$custom-dark: #000000;
JSON
{
  "hex": "#303aa3",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 234.783,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41064,
    "c": 0.16734,
    "h": 272.4
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#303AA3
secondary
#BFB870
accent
#D14ADE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #303AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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