#30259E#30259E

#30259E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.184 H 276.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#30259E
RGBrgb(48, 37, 158)
HSLhsl(245, 62%, 38%)
HSVhsv(245, 77%, 62%)
CMYKcmyk(69.6%, 76.6%, 0%, 38%)
CIE-LABlab(25.01, 42.80, -63.32)
CIE-LCHlch(25.01, 76.43, 304.06°)
OKLaboklab(37.22% 0.0213 -0.183)
OKLCHoklch(37.22% 0.184 276.6)
XYZxyz(8.0500, 4.4194, 32.7699)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30259E #939E25
analogous
#25569E #30259E #6D259E
triadic
#30259E #9E3025 #259E30
tetradic
#30259E #9E2556 #939E25 #259E6D
square
#30259E #9E2556 #939E25 #259E6D
split-complementary
#30259E #9E6D25 #569E25
monochromatic
#120E3B #21196C #30259E #4031CF #6E63DA

Accessibility & contrast

On white

11.15
#30259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#30259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30259E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30259E#FFFFFF#000000##FFFFFF
##30259E1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30259e;
/* rgb */ color: rgb(48, 37, 158);
/* oklch */ color: oklch(37.2% 0.184 276.6);
Tailwind
colors: {
  custom: {
    50: '#7962bc',
    500: '#30259e',
    950: '#000000',
  },
}
SCSS
$custom: #30259e;
$custom-light: #7962bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30259e",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 245.455,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37218,
    "c": 0.18422,
    "h": 276.6
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#30259E
secondary
#B7C05F
accent
#E543D6
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30259E

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

Preview Lab → · Contrast checker → · Palette generator →

#30259E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva