#303883#303883

#303883 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.125 H 274.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#303883
RGBrgb(48, 56, 131)
HSLhsl(234, 46%, 35%)
HSVhsv(234, 63%, 51%)
CMYKcmyk(63.4%, 57.3%, 0%, 48.6%)
CIE-LABlab(27.00, 21.48, -43.39)
CIE-LCHlch(27.00, 48.41, 296.34°)
OKLaboklab(37.91% 0.0092 -0.1246)
OKLCHoklch(37.91% 0.125 274.2)
XYZxyz(6.7285, 5.0949, 22.0972)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303883 #837B30
analogous
#306183 #303883 #523083
triadic
#303883 #833038 #388330
tetradic
#303883 #833061 #837B30 #308352
square
#303883 #833061 #837B30 #308352
split-complementary
#303883 #835230 #618330
monochromatic
#0F1229 #202556 #303883 #404BB0 #6670C7

Accessibility & contrast

On white

10.40
#303883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#303883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303883
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303883#FFFFFF#000000##FFFFFF
##3038831.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004486
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #303883;
/* rgb */ color: rgb(48, 56, 131);
/* oklch */ color: oklch(37.9% 0.125 274.2);
Tailwind
colors: {
  custom: {
    50: '#716ea8',
    500: '#303883',
    950: '#000000',
  },
}
SCSS
$custom: #303883;
$custom-light: #716ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#303883",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 234.217,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37912,
    "c": 0.1249,
    "h": 274.2
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#303883
secondary
#AEA761
accent
#C952D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #303883

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

Preview Lab → · Contrast checker → · Palette generator →

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