#303690#303690

#303690 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.146 H 274.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#303690
RGBrgb(48, 54, 144)
HSLhsl(236, 50%, 38%)
HSVhsv(236, 67%, 56%)
CMYKcmyk(66.7%, 62.5%, 0%, 43.5%)
CIE-LABlab(27.52, 27.55, -50.62)
CIE-LCHlch(27.52, 57.63, 298.56°)
OKLaboklab(38.62% 0.0111 -0.1458)
OKLCHoklch(38.62% 0.146 274.3)
XYZxyz(7.5705, 5.2797, 27.0003)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303690 #908A30
analogous
#306690 #303690 #5A3090
triadic
#303690 #903036 #369030
tetradic
#303690 #903066 #908A30 #30905A
square
#303690 #903066 #908A30 #30905A
split-complementary
#303690 #905A30 #669030
monochromatic
#111434 #212562 #303690 #3F47BE #6C72CE

Accessibility & contrast

On white

10.21
#303690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#303690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303690
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303690#FFFFFF#000000##FFFFFF
##3036901.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #303690;
/* rgb */ color: rgb(48, 54, 144);
/* oklch */ color: oklch(38.6% 0.146 274.3);
Tailwind
colors: {
  custom: {
    50: '#746db1',
    500: '#303690',
    950: '#000000',
  },
}
SCSS
$custom: #303690;
$custom-light: #746db1;
$custom-dark: #000000;
JSON
{
  "hex": "#303690",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 144
  },
  "hsl": {
    "h": 236.25,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38621,
    "c": 0.14627,
    "h": 274.3
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#303690
secondary
#B5B166
accent
#D14EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303690

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

Preview Lab → · Contrast checker → · Palette generator →

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