#302599#302599

#302599 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.178 H 277.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#302599
RGBrgb(48, 37, 153)
HSLhsl(246, 61%, 37%)
HSVhsv(246, 76%, 60%)
CMYKcmyk(68.6%, 75.8%, 0%, 40%)
CIE-LABlab(24.48, 41.18, -61.13)
CIE-LCHlch(24.48, 73.71, 303.96°)
OKLaboklab(36.69% 0.0224 -0.1766)
OKLCHoklch(36.69% 0.178 277.2)
XYZxyz(7.6284, 4.2508, 30.5493)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302599 #8E9925
analogous
#255499 #302599 #6A2599
triadic
#302599 #993025 #259930
tetradic
#302599 #992554 #8E9925 #25996A
square
#302599 #992554 #8E9925 #25996A
split-complementary
#302599 #996A25 #549925
monochromatic
#110D36 #211968 #302599 #3F31CA #6B60D9

Accessibility & contrast

On white

11.35
#302599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#302599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302599
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302599#FFFFFF#000000##FFFFFF
##3025991.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #302599;
/* rgb */ color: rgb(48, 37, 153);
/* oklch */ color: oklch(36.7% 0.178 277.2);
Tailwind
colors: {
  custom: {
    50: '#7862b8',
    500: '#302599',
    950: '#000000',
  },
}
SCSS
$custom: #302599;
$custom-light: #7862b8;
$custom-dark: #000000;
JSON
{
  "hex": "#302599",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 245.69,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36688,
    "c": 0.17804,
    "h": 277.2
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#302599
secondary
#B4BE5C
accent
#E444D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #302599

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

Preview Lab → · Contrast checker → · Palette generator →

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