#303095#303095

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

Color values

HEX#303095
RGBrgb(48, 48, 149)
HSLhsl(240, 51%, 39%)
HSVhsv(240, 68%, 58%)
CMYKcmyk(67.8%, 67.8%, 0%, 41.6%)
CIE-LABlab(26.48, 33.23, -55.39)
CIE-LCHlch(26.48, 64.59, 300.96°)
OKLaboklab(38% 0.0156 -0.1599)
OKLCHoklch(38% 0.161 275.6)
XYZxyz(7.6989, 4.9115, 28.9702)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303095 #959530
analogous
#306295 #303095 #623095
triadic
#303095 #953030 #309530
tetradic
#303095 #953062 #959530 #309562
square
#303095 #953062 #959530 #309562
split-complementary
#303095 #956230 #629530
monochromatic
#121238 #212167 #303095 #4141C2 #6F6FD1

Accessibility & contrast

On white

10.59
#303095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303095
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303095#FFFFFF#000000##FFFFFF
##3030951.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303095;
/* rgb */ color: rgb(48, 48, 149);
/* oklch */ color: oklch(38.0% 0.161 275.6);
Tailwind
colors: {
  custom: {
    50: '#7669b5',
    500: '#303095',
    950: '#000000',
  },
}
SCSS
$custom: #303095;
$custom-light: #7669b5;
$custom-dark: #000000;
JSON
{
  "hex": "#303095",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 240,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37999,
    "c": 0.16064,
    "h": 275.6
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#303095
secondary
#B8B869
accent
#DB4DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #303095

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

Preview Lab → · Contrast checker → · Palette generator →

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