#302596#302596

#302596 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.174 H 277.6°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#302596
RGBrgb(48, 37, 150)
HSLhsl(246, 60%, 37%)
HSVhsv(246, 75%, 59%)
CMYKcmyk(68%, 75.3%, 0%, 41.2%)
CIE-LABlab(24.17, 40.20, -59.80)
CIE-LCHlch(24.17, 72.06, 303.91°)
OKLaboklab(36.37% 0.0231 -0.1727)
OKLCHoklch(36.37% 0.174 277.6)
XYZxyz(7.3837, 4.1529, 29.2607)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302596 #8B9625
analogous
#255396 #302596 #692596
triadic
#302596 #963025 #259630
tetradic
#302596 #962553 #8B9625 #259669
square
#302596 #962553 #8B9625 #259669
split-complementary
#302596 #966925 #539625
monochromatic
#110D34 #201965 #302596 #4031C7 #6A5ED7

Accessibility & contrast

On white

11.47
#302596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#302596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302596
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302596#FFFFFF#000000##FFFFFF
##3025961.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302596;
/* rgb */ color: rgb(48, 37, 150);
/* oklch */ color: oklch(36.4% 0.174 277.6);
Tailwind
colors: {
  custom: {
    50: '#7762b6',
    500: '#302596',
    950: '#000000',
  },
}
SCSS
$custom: #302596;
$custom-light: #7762b6;
$custom-dark: #000000;
JSON
{
  "hex": "#302596",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 245.841,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36372,
    "c": 0.17429,
    "h": 277.6
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#302596
secondary
#B3BC5B
accent
#E444D4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302596

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

Preview Lab → · Contrast checker → · Palette generator →

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