#303194#303194

#303194 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.158 H 275.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#303194
RGBrgb(48, 49, 148)
HSLhsl(239, 51%, 38%)
HSVhsv(239, 68%, 58%)
CMYKcmyk(67.6%, 66.9%, 0%, 42%)
CIE-LABlab(26.63, 32.24, -54.54)
CIE-LCHlch(26.63, 63.35, 300.59°)
OKLaboklab(38.08% 0.015 -0.1574)
OKLCHoklch(38.08% 0.158 275.4)
XYZxyz(7.6608, 4.9625, 28.5654)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303194 #949330
analogous
#306394 #303194 #613094
triadic
#303194 #943031 #319430
tetradic
#303194 #943063 #949330 #309461
square
#303194 #943063 #949330 #309461
split-complementary
#303194 #946130 #639430
monochromatic
#121238 #212266 #303194 #4041C1 #6E6FD0

Accessibility & contrast

On white

10.54
#303194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#303194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303194
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303194#FFFFFF#000000##FFFFFF
##3031941.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #303194;
/* rgb */ color: rgb(48, 49, 148);
/* oklch */ color: oklch(38.1% 0.158 275.4);
Tailwind
colors: {
  custom: {
    50: '#7669b4',
    500: '#303194',
    950: '#000000',
  },
}
SCSS
$custom: #303194;
$custom-light: #7669b4;
$custom-dark: #000000;
JSON
{
  "hex": "#303194",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 239.4,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38077,
    "c": 0.15808,
    "h": 275.4
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#303194
secondary
#B8B768
accent
#D94DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #303194

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

Preview Lab → · Contrast checker → · Palette generator →

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