#30259D#30259D

#30259D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.183 H 276.8°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#30259D
RGBrgb(48, 37, 157)
HSLhsl(246, 62%, 38%)
HSVhsv(246, 76%, 62%)
CMYKcmyk(69.4%, 76.4%, 0%, 38.4%)
CIE-LABlab(24.91, 42.48, -62.88)
CIE-LCHlch(24.91, 75.89, 304.04°)
OKLaboklab(37.11% 0.0215 -0.1817)
OKLCHoklch(37.11% 0.183 276.8)
XYZxyz(7.9643, 4.3851, 32.3184)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30259D #929D25
analogous
#25569D #30259D #6C259D
triadic
#30259D #9D3025 #259D30
tetradic
#30259D #9D2556 #929D25 #259D6C
square
#30259D #9D2556 #929D25 #259D6C
split-complementary
#30259D #9D6C25 #569D25
monochromatic
#120E3A #21196B #30259D #3F31CE #6D62DA

Accessibility & contrast

On white

11.19
#30259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30259D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30259D#FFFFFF#000000##FFFFFF
##30259D1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30259d;
/* rgb */ color: rgb(48, 37, 157);
/* oklch */ color: oklch(37.1% 0.183 276.8);
Tailwind
colors: {
  custom: {
    50: '#7962bb',
    500: '#30259d',
    950: '#000000',
  },
}
SCSS
$custom: #30259d;
$custom-light: #7962bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30259d",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 245.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37112,
    "c": 0.183,
    "h": 276.8
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#30259D
secondary
#B7BF5E
accent
#E543D6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30259D

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

Preview Lab → · Contrast checker → · Palette generator →

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