#303085#303085

#303085 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.139 H 277.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#303085
RGBrgb(48, 48, 133)
HSLhsl(240, 47%, 35%)
HSVhsv(240, 64%, 52%)
CMYKcmyk(63.9%, 63.9%, 0%, 47.8%)
CIE-LABlab(25.06, 27.57, -47.79)
CIE-LCHlch(25.06, 55.17, 299.98°)
OKLaboklab(36.52% 0.017 -0.1376)
OKLCHoklch(36.52% 0.139 277.1)
XYZxyz(6.5081, 4.4352, 22.6989)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303085 #858530
analogous
#305A85 #303085 #5A3085
triadic
#303085 #853030 #308530
tetradic
#303085 #85305A #858530 #30855A
square
#303085 #85305A #858530 #30855A
split-complementary
#303085 #855A30 #5A8530
monochromatic
#10102B #202058 #303085 #4040B2 #6767C8

Accessibility & contrast

On white

11.13
#303085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#303085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303085
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303085#FFFFFF#000000##FFFFFF
##3030851.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #303085;
/* rgb */ color: rgb(48, 48, 133);
/* oklch */ color: oklch(36.5% 0.139 277.1);
Tailwind
colors: {
  custom: {
    50: '#7268a9',
    500: '#303085',
    950: '#000000',
  },
}
SCSS
$custom: #303085;
$custom-light: #7268a9;
$custom-dark: #000000;
JSON
{
  "hex": "#303085",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 240,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36524,
    "c": 0.13864,
    "h": 277.1
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#303085
secondary
#AFAF61
accent
#D751D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #303085

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

Preview Lab → · Contrast checker → · Palette generator →

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