#303385#303385

#303385 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.135 H 276.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#303385
RGBrgb(48, 51, 133)
HSLhsl(238, 47%, 35%)
HSVhsv(238, 64%, 52%)
CMYKcmyk(63.9%, 61.7%, 0%, 47.8%)
CIE-LABlab(25.83, 25.57, -46.54)
CIE-LCHlch(25.83, 53.11, 298.79°)
OKLaboklab(37.09% 0.0142 -0.1339)
OKLCHoklch(37.09% 0.135 276)
XYZxyz(6.6350, 4.6890, 22.7412)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303385 #858230
analogous
#305D85 #303385 #573085
triadic
#303385 #853033 #338530
tetradic
#303385 #85305D #858230 #308557
square
#303385 #85305D #858230 #308557
split-complementary
#303385 #855730 #5D8530
monochromatic
#10112B #202258 #303385 #4044B2 #676BC8

Accessibility & contrast

On white

10.84
#303385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#303385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303385
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303385#FFFFFF#000000##FFFFFF
##3033851.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #303385;
/* rgb */ color: rgb(48, 51, 133);
/* oklch */ color: oklch(37.1% 0.135 276.0);
Tailwind
colors: {
  custom: {
    50: '#726aa9',
    500: '#303385',
    950: '#000000',
  },
}
SCSS
$custom: #303385;
$custom-light: #726aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#303385",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 237.882,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37089,
    "c": 0.13464,
    "h": 276
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#303385
secondary
#AFAD61
accent
#D251D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #303385

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

Preview Lab → · Contrast checker → · Palette generator →

#303385 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva