#303389#303389

#303389 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.140 H 275.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#303389
RGBrgb(48, 51, 137)
HSLhsl(238, 48%, 36%)
HSVhsv(238, 65%, 54%)
CMYKcmyk(65%, 62.8%, 0%, 46.3%)
CIE-LABlab(26.16, 27.02, -48.50)
CIE-LCHlch(26.16, 55.51, 299.12°)
OKLaboklab(37.44% 0.014 -0.1396)
OKLCHoklch(37.44% 0.14 275.7)
XYZxyz(6.9166, 4.8016, 24.2244)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303389 #898630
analogous
#306089 #303389 #5A3089
triadic
#303389 #893033 #338930
tetradic
#303389 #893060 #898630 #30895A
square
#303389 #893060 #898630 #30895A
split-complementary
#303389 #895A30 #608930
monochromatic
#10112E #20225C #303389 #4044B6 #696CCA

Accessibility & contrast

On white

10.71
#303389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#303389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303389
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303389#FFFFFF#000000##FFFFFF
##3033891.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #303389;
/* rgb */ color: rgb(48, 51, 137);
/* oklch */ color: oklch(37.4% 0.140 275.7);
Tailwind
colors: {
  custom: {
    50: '#736aac',
    500: '#303389',
    950: '#000000',
  },
}
SCSS
$custom: #303389;
$custom-light: #736aac;
$custom-dark: #000000;
JSON
{
  "hex": "#303389",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 237.978,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37439,
    "c": 0.14033,
    "h": 275.7
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#303389
secondary
#B2AF63
accent
#D350D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #303389

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

Preview Lab → · Contrast checker → · Palette generator →

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