#303597#303597

#303597 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.157 H 274.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#303597
RGBrgb(48, 53, 151)
HSLhsl(237, 52%, 39%)
HSVhsv(237, 68%, 59%)
CMYKcmyk(68.2%, 64.9%, 0%, 40.8%)
CIE-LABlab(27.87, 30.73, -54.35)
CIE-LCHlch(27.87, 62.44, 299.49°)
OKLaboklab(39.07% 0.0116 -0.1568)
OKLCHoklch(39.07% 0.157 274.2)
XYZxyz(8.0761, 5.4082, 29.8904)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303597 #979230
analogous
#306997 #303597 #5F3097
triadic
#303597 #973035 #359730
tetradic
#303597 #973069 #979230 #30975F
square
#303597 #973069 #979230 #30975F
split-complementary
#303597 #975F30 #699730
monochromatic
#12143A #212569 #303597 #4148C3 #7075D2

Accessibility & contrast

On white

10.09
#303597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#303597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303597
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303597#FFFFFF#000000##FFFFFF
##3035971.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303597;
/* rgb */ color: rgb(48, 53, 151);
/* oklch */ color: oklch(39.1% 0.157 274.2);
Tailwind
colors: {
  custom: {
    50: '#766cb6',
    500: '#303597',
    950: '#000000',
  },
}
SCSS
$custom: #303597;
$custom-light: #766cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#303597",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 237.087,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39065,
    "c": 0.15722,
    "h": 274.2
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#303597
secondary
#B9B56A
accent
#D44DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #303597

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

Preview Lab → · Contrast checker → · Palette generator →

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