#303694#303694

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

Color values

HEX#303694
RGBrgb(48, 54, 148)
HSLhsl(236, 51%, 38%)
HSVhsv(236, 68%, 58%)
CMYKcmyk(67.6%, 63.5%, 0%, 42%)
CIE-LABlab(27.86, 29.00, -52.53)
CIE-LCHlch(27.86, 60.00, 298.90°)
OKLaboklab(38.98% 0.0109 -0.1514)
OKLCHoklch(38.98% 0.152 274.1)
XYZxyz(7.8816, 5.4041, 28.6390)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303694 #948E30
analogous
#306894 #303694 #5C3094
triadic
#303694 #943036 #369430
tetradic
#303694 #943068 #948E30 #30945C
square
#303694 #943068 #948E30 #30945C
split-complementary
#303694 #945C30 #689430
monochromatic
#121438 #212566 #303694 #4048C1 #6E74D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303694#FFFFFF#000000##FFFFFF
##3036941.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)
#004697
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303694;
/* rgb */ color: rgb(48, 54, 148);
/* oklch */ color: oklch(39.0% 0.152 274.1);
Tailwind
colors: {
  custom: {
    50: '#756db4',
    500: '#303694',
    950: '#000000',
  },
}
SCSS
$custom: #303694;
$custom-light: #756db4;
$custom-dark: #000000;
JSON
{
  "hex": "#303694",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 148
  },
  "hsl": {
    "h": 236.4,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38976,
    "c": 0.15184,
    "h": 274.1
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#303694
secondary
#B8B368
accent
#D24DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303694

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

Preview Lab → · Contrast checker → · Palette generator →

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