#30259C#30259C

#30259C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.182 H 276.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#30259C
RGBrgb(48, 37, 156)
HSLhsl(246, 62%, 38%)
HSVhsv(246, 76%, 61%)
CMYKcmyk(69.2%, 76.3%, 0%, 38.8%)
CIE-LABlab(24.80, 42.15, -62.45)
CIE-LCHlch(24.80, 75.34, 304.02°)
OKLaboklab(37% 0.0217 -0.1805)
OKLCHoklch(37% 0.182 276.9)
XYZxyz(7.8793, 4.3511, 31.8707)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30259C #919C25
analogous
#25569C #30259C #6B259C
triadic
#30259C #9C3025 #259C30
tetradic
#30259C #9C2556 #919C25 #259C6B
square
#30259C #9C2556 #919C25 #259C6B
split-complementary
#30259C #9C6B25 #569C25
monochromatic
#120E39 #21196B #30259C #3F31CD #6D62DA

Accessibility & contrast

On white

11.23
#30259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#30259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30259C
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30259C#FFFFFF#000000##FFFFFF
##30259C1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30259c;
/* rgb */ color: rgb(48, 37, 156);
/* oklch */ color: oklch(37.0% 0.182 276.9);
Tailwind
colors: {
  custom: {
    50: '#7862ba',
    500: '#30259c',
    950: '#000000',
  },
}
SCSS
$custom: #30259c;
$custom-light: #7862ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30259c",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 245.546,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37005,
    "c": 0.18177,
    "h": 276.9
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#30259C
secondary
#B6BF5E
accent
#E543D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30259C

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

Preview Lab → · Contrast checker → · Palette generator →

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