#30259F#30259F

#30259F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.185 H 276.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#30259F
RGBrgb(48, 37, 159)
HSLhsl(245, 62%, 38%)
HSVhsv(245, 77%, 62%)
CMYKcmyk(69.8%, 76.7%, 0%, 37.6%)
CIE-LABlab(25.12, 43.13, -63.75)
CIE-LCHlch(25.12, 76.97, 304.08°)
OKLaboklab(37.33% 0.0211 -0.1843)
OKLCHoklch(37.33% 0.185 276.5)
XYZxyz(8.1365, 4.4540, 33.2251)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30259F #949F25
analogous
#25579F #30259F #6D259F
triadic
#30259F #9F3025 #259F30
tetradic
#30259F #9F2557 #949F25 #259F6D
square
#30259F #9F2557 #949F25 #259F6D
split-complementary
#30259F #9F6D25 #579F25
monochromatic
#120E3C #21196D #30259F #4032CF #6E64DB

Accessibility & contrast

On white

11.11
#30259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#30259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30259F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30259F#FFFFFF#000000##FFFFFF
##30259F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30259f;
/* rgb */ color: rgb(48, 37, 159);
/* oklch */ color: oklch(37.3% 0.185 276.5);
Tailwind
colors: {
  custom: {
    50: '#7962bd',
    500: '#30259f',
    950: '#000000',
  },
}
SCSS
$custom: #30259f;
$custom-light: #7962bd;
$custom-dark: #000000;
JSON
{
  "hex": "#30259f",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 245.41,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37325,
    "c": 0.18546,
    "h": 276.5
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#30259F
secondary
#B8C05F
accent
#E542D7
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30259F

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

Preview Lab → · Contrast checker → · Palette generator →

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