#303283#303283

#303283 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.133 H 276.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#303283
RGBrgb(48, 50, 131)
HSLhsl(239, 46%, 35%)
HSVhsv(239, 63%, 51%)
CMYKcmyk(63.4%, 61.8%, 0%, 48.6%)
CIE-LABlab(25.41, 25.52, -45.98)
CIE-LCHlch(25.41, 52.59, 299.03°)
OKLaboklab(36.73% 0.0152 -0.1322)
OKLCHoklch(36.73% 0.133 276.6)
XYZxyz(6.4549, 4.5478, 22.0060)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303283 #838130
analogous
#305C83 #303283 #573083
triadic
#303283 #833032 #328330
tetradic
#303283 #83305C #838130 #308357
square
#303283 #83305C #838130 #308357
split-complementary
#303283 #835730 #5C8330
monochromatic
#0F1029 #202156 #303283 #4043B0 #6669C7

Accessibility & contrast

On white

11.00
#303283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#303283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303283
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303283#FFFFFF#000000##FFFFFF
##3032831.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #303283;
/* rgb */ color: rgb(48, 50, 131);
/* oklch */ color: oklch(36.7% 0.133 276.6);
Tailwind
colors: {
  custom: {
    50: '#726aa8',
    500: '#303283',
    950: '#000000',
  },
}
SCSS
$custom: #303283;
$custom-light: #726aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#303283",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 238.554,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36725,
    "c": 0.13312,
    "h": 276.6
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#303283
secondary
#AEAC61
accent
#D352D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #303283

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

Preview Lab → · Contrast checker → · Palette generator →

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