#303689#303689

#303689 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.136 H 274.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#303689
RGBrgb(48, 54, 137)
HSLhsl(236, 48%, 36%)
HSVhsv(236, 65%, 54%)
CMYKcmyk(65%, 60.6%, 0%, 46.3%)
CIE-LABlab(26.94, 25.02, -47.23)
CIE-LCHlch(26.94, 53.45, 297.91°)
OKLaboklab(38.01% 0.0112 -0.1359)
OKLCHoklch(38.01% 0.136 274.7)
XYZxyz(7.0520, 5.0723, 24.2695)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303689 #898330
analogous
#306389 #303689 #573089
triadic
#303689 #893036 #368930
tetradic
#303689 #893063 #898330 #308957
square
#303689 #893063 #898330 #308957
split-complementary
#303689 #895730 #638930
monochromatic
#10122E #20245C #303689 #4048B6 #6970CA

Accessibility & contrast

On white

10.42
#303689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#303689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303689
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303689#FFFFFF#000000##FFFFFF
##3036891.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #303689;
/* rgb */ color: rgb(48, 54, 137);
/* oklch */ color: oklch(38.0% 0.136 274.7);
Tailwind
colors: {
  custom: {
    50: '#736dac',
    500: '#303689',
    950: '#000000',
  },
}
SCSS
$custom: #303689;
$custom-light: #736dac;
$custom-dark: #000000;
JSON
{
  "hex": "#303689",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 235.955,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38013,
    "c": 0.13634,
    "h": 274.7
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#303689
secondary
#B2AC63
accent
#CF50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #303689

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

Preview Lab → · Contrast checker → · Palette generator →

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