#302595#302595

#302595 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.173 H 277.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#302595
RGBrgb(48, 37, 149)
HSLhsl(246, 60%, 36%)
HSVhsv(246, 75%, 58%)
CMYKcmyk(67.8%, 75.2%, 0%, 41.6%)
CIE-LABlab(24.07, 39.87, -59.36)
CIE-LCHlch(24.07, 71.51, 303.89°)
OKLaboklab(36.27% 0.0233 -0.1714)
OKLCHoklch(36.27% 0.173 277.7)
XYZxyz(7.3036, 4.1208, 28.8385)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302595 #8A9525
analogous
#255295 #302595 #682595
triadic
#302595 #953025 #259530
tetradic
#302595 #952552 #8A9525 #259568
square
#302595 #952552 #8A9525 #259568
split-complementary
#302595 #956825 #529525
monochromatic
#100D33 #201964 #302595 #4031C6 #695ED7

Accessibility & contrast

On white

11.51
#302595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#302595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302595
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302595#FFFFFF#000000##FFFFFF
##3025951.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #302595;
/* rgb */ color: rgb(48, 37, 149);
/* oklch */ color: oklch(36.3% 0.173 277.7);
Tailwind
colors: {
  custom: {
    50: '#7761b5',
    500: '#302595',
    950: '#000000',
  },
}
SCSS
$custom: #302595;
$custom-light: #7761b5;
$custom-dark: #000000;
JSON
{
  "hex": "#302595",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 245.893,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36268,
    "c": 0.17303,
    "h": 277.7
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#302595
secondary
#B2BC5A
accent
#E344D4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302595

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

Preview Lab → · Contrast checker → · Palette generator →

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