#303192#303192

#303192 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.155 H 275.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#303192
RGBrgb(48, 49, 146)
HSLhsl(239, 51%, 38%)
HSVhsv(239, 67%, 57%)
CMYKcmyk(67.1%, 66.4%, 0%, 42.7%)
CIE-LABlab(26.45, 31.53, -53.60)
CIE-LCHlch(26.45, 62.19, 300.47°)
OKLaboklab(37.89% 0.0152 -0.1546)
OKLCHoklch(37.89% 0.155 275.6)
XYZxyz(7.5038, 4.8997, 27.7388)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303192 #929130
analogous
#306292 #303192 #603092
triadic
#303192 #923031 #319230
tetradic
#303192 #923062 #929130 #309260
square
#303192 #923062 #929130 #309260
split-complementary
#303192 #926030 #629230
monochromatic
#121236 #212264 #303192 #3F41C0 #6D6ECF

Accessibility & contrast

On white

10.61
#303192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#303192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303192
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303192#FFFFFF#000000##FFFFFF
##3031921.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #303192;
/* rgb */ color: rgb(48, 49, 146);
/* oklch */ color: oklch(37.9% 0.155 275.6);
Tailwind
colors: {
  custom: {
    50: '#7569b3',
    500: '#303192',
    950: '#000000',
  },
}
SCSS
$custom: #303192;
$custom-light: #7569b3;
$custom-dark: #000000;
JSON
{
  "hex": "#303192",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 239.388,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3789,
    "c": 0.15537,
    "h": 275.6
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#303192
secondary
#B7B667
accent
#D94EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #303192

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

Preview Lab → · Contrast checker → · Palette generator →

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