#303289#303289

#303289 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.142 H 276.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#303289
RGBrgb(48, 50, 137)
HSLhsl(239, 48%, 36%)
HSVhsv(239, 65%, 54%)
CMYKcmyk(65%, 63.5%, 0%, 46.3%)
CIE-LABlab(25.91, 27.68, -48.91)
CIE-LCHlch(25.91, 56.20, 299.50°)
OKLaboklab(37.25% 0.015 -0.1408)
OKLCHoklch(37.25% 0.142 276.1)
XYZxyz(6.8734, 4.7152, 24.2100)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303289 #898730
analogous
#305F89 #303289 #5B3089
triadic
#303289 #893032 #328930
tetradic
#303289 #89305F #898730 #30895B
square
#303289 #89305F #898730 #30895B
split-complementary
#303289 #895B30 #5F8930
monochromatic
#10112E #20215C #303289 #4043B6 #696BCA

Accessibility & contrast

On white

10.81
#303289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#303289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303289
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303289#FFFFFF#000000##FFFFFF
##3032891.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #303289;
/* rgb */ color: rgb(48, 50, 137);
/* oklch */ color: oklch(37.3% 0.142 276.1);
Tailwind
colors: {
  custom: {
    50: '#736aac',
    500: '#303289',
    950: '#000000',
  },
}
SCSS
$custom: #303289;
$custom-light: #736aac;
$custom-dark: #000000;
JSON
{
  "hex": "#303289",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 238.652,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37251,
    "c": 0.14164,
    "h": 276.1
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#303289
secondary
#B2B063
accent
#D550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #303289

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

Preview Lab → · Contrast checker → · Palette generator →

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