#303285#303285

#303285 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.136 H 276.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#303285
RGBrgb(48, 50, 133)
HSLhsl(239, 47%, 35%)
HSVhsv(239, 64%, 52%)
CMYKcmyk(63.9%, 62.4%, 0%, 47.8%)
CIE-LABlab(25.57, 26.24, -46.96)
CIE-LCHlch(25.57, 53.80, 299.20°)
OKLaboklab(36.9% 0.0151 -0.1351)
OKLCHoklch(36.9% 0.136 276.4)
XYZxyz(6.5918, 4.6025, 22.7268)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303285 #858330
analogous
#305C85 #303285 #583085
triadic
#303285 #853032 #328530
tetradic
#303285 #85305C #858330 #308558
square
#303285 #85305C #858330 #308558
split-complementary
#303285 #855830 #5C8530
monochromatic
#10102B #202158 #303285 #4043B2 #6769C8

Accessibility & contrast

On white

10.93
#303285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#303285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303285
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303285#FFFFFF#000000##FFFFFF
##3032851.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #303285;
/* rgb */ color: rgb(48, 50, 133);
/* oklch */ color: oklch(36.9% 0.136 276.4);
Tailwind
colors: {
  custom: {
    50: '#726aa9',
    500: '#303285',
    950: '#000000',
  },
}
SCSS
$custom: #303285;
$custom-light: #726aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#303285",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 238.588,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36899,
    "c": 0.13597,
    "h": 276.4
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#303285
secondary
#AFAE61
accent
#D351D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #303285

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

Preview Lab → · Contrast checker → · Palette generator →

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