#303589#303589

#303589 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.138 H 275.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#303589
RGBrgb(48, 53, 137)
HSLhsl(237, 48%, 36%)
HSVhsv(237, 65%, 54%)
CMYKcmyk(65%, 61.3%, 0%, 46.3%)
CIE-LABlab(26.68, 25.69, -47.66)
CIE-LCHlch(26.68, 54.14, 298.32°)
OKLaboklab(37.82% 0.0122 -0.1371)
OKLCHoklch(37.82% 0.138 275.1)
XYZxyz(7.0059, 4.9801, 24.2541)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303589 #898430
analogous
#306289 #303589 #583089
triadic
#303589 #893035 #358930
tetradic
#303589 #893062 #898430 #308958
square
#303589 #893062 #898430 #308958
split-complementary
#303589 #895830 #628930
monochromatic
#10122E #20235C #303589 #4047B6 #696ECA

Accessibility & contrast

On white

10.52
#303589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#303589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303589
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303589#FFFFFF#000000##FFFFFF
##3035891.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #303589;
/* rgb */ color: rgb(48, 53, 137);
/* oklch */ color: oklch(37.8% 0.138 275.1);
Tailwind
colors: {
  custom: {
    50: '#736cac',
    500: '#303589',
    950: '#000000',
  },
}
SCSS
$custom: #303589;
$custom-light: #736cac;
$custom-dark: #000000;
JSON
{
  "hex": "#303589",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 137
  },
  "hsl": {
    "h": 236.629,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3782,
    "c": 0.13768,
    "h": 275.1
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#303589
secondary
#B2AD63
accent
#D050D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #303589

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

Preview Lab → · Contrast checker → · Palette generator →

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