#303598#303598

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

Color values

HEX#303598
RGBrgb(48, 53, 152)
HSLhsl(237, 52%, 39%)
HSVhsv(237, 68%, 60%)
CMYKcmyk(68.4%, 65.1%, 0%, 40.4%)
CIE-LABlab(27.96, 31.09, -54.82)
CIE-LCHlch(27.96, 63.02, 299.56°)
OKLaboklab(39.16% 0.0115 -0.1582)
OKLCHoklch(39.16% 0.159 274.2)
XYZxyz(8.1576, 5.4408, 30.3200)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303598 #989330
analogous
#306998 #303598 #5F3098
triadic
#303598 #983035 #359830
tetradic
#303598 #983069 #989330 #30985F
square
#303598 #983069 #989330 #30985F
split-complementary
#303598 #985F30 #699830
monochromatic
#13153B #212569 #303598 #4248C3 #7075D2

Accessibility & contrast

On white

10.06
#303598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#303598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303598
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303598#FFFFFF#000000##FFFFFF
##3035981.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303598;
/* rgb */ color: rgb(48, 53, 152);
/* oklch */ color: oklch(39.2% 0.159 274.2);
Tailwind
colors: {
  custom: {
    50: '#766cb7',
    500: '#303598',
    950: '#000000',
  },
}
SCSS
$custom: #303598;
$custom-light: #766cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#303598",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 152
  },
  "hsl": {
    "h": 237.115,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39157,
    "c": 0.15859,
    "h": 274.2
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#303598
secondary
#BAB66A
accent
#D54CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #303598

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

Preview Lab → · Contrast checker → · Palette generator →

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