#302095#302095

#302095 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.178 H 278.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#302095
RGBrgb(48, 32, 149)
HSLhsl(248, 65%, 35%)
HSVhsv(248, 79%, 58%)
CMYKcmyk(67.8%, 78.5%, 0%, 41.6%)
CIE-LABlab(23.10, 42.60, -60.95)
CIE-LCHlch(23.10, 74.36, 304.95°)
OKLaboklab(35.59% 0.0263 -0.176)
OKLCHoklch(35.59% 0.178 278.5)
XYZxyz(7.1585, 3.8307, 28.7901)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302095 #859520
analogous
#204A95 #302095 #6A2095
triadic
#302095 #953020 #209530
tetradic
#302095 #95204A #859520 #20956A
square
#302095 #95204A #859520 #20956A
split-complementary
#302095 #956A20 #4A9520
monochromatic
#100A30 #201563 #302095 #402BC7 #6755DA

Accessibility & contrast

On white

11.89
#302095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#302095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302095
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302095#FFFFFF#000000##FFFFFF
##3020951.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #302095;
/* rgb */ color: rgb(48, 32, 149);
/* oklch */ color: oklch(35.6% 0.178 278.5);
Tailwind
colors: {
  custom: {
    50: '#775fb5',
    500: '#302095',
    950: '#000000',
  },
}
SCSS
$custom: #302095;
$custom-light: #775fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#302095",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 248.205,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3559,
    "c": 0.17799,
    "h": 278.5
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#302095
secondary
#AFBE53
accent
#E840D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302095

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

Preview Lab → · Contrast checker → · Palette generator →

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