#303697#303697

#303697 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.156 H 274.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#303697
RGBrgb(48, 54, 151)
HSLhsl(237, 52%, 39%)
HSVhsv(237, 68%, 59%)
CMYKcmyk(68.2%, 64.2%, 0%, 40.8%)
CIE-LABlab(28.12, 30.08, -53.95)
CIE-LCHlch(28.12, 61.77, 299.14°)
OKLaboklab(39.25% 0.0107 -0.1556)
OKLCHoklch(39.25% 0.156 274)
XYZxyz(8.1221, 5.5003, 29.9058)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303697 #979130
analogous
#306A97 #303697 #5E3097
triadic
#303697 #973036 #369730
tetradic
#303697 #97306A #979130 #30975E
square
#303697 #97306A #979130 #30975E
split-complementary
#303697 #975E30 #6A9730
monochromatic
#12153A #212569 #303697 #4149C3 #7076D2

Accessibility & contrast

On white

10.00
#303697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#303697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303697
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303697#FFFFFF#000000##FFFFFF
##3036971.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303697;
/* rgb */ color: rgb(48, 54, 151);
/* oklch */ color: oklch(39.2% 0.156 274.0);
Tailwind
colors: {
  custom: {
    50: '#766db6',
    500: '#303697',
    950: '#000000',
  },
}
SCSS
$custom: #303697;
$custom-light: #766db6;
$custom-dark: #000000;
JSON
{
  "hex": "#303697",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 236.505,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39247,
    "c": 0.15597,
    "h": 274
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#303697
secondary
#B9B46A
accent
#D34DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #303697

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

Preview Lab → · Contrast checker → · Palette generator →

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