#30258D#30258D

#30258D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.163 H 278.8°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#30258D
RGBrgb(48, 37, 141)
HSLhsl(246, 58%, 35%)
HSVhsv(246, 74%, 55%)
CMYKcmyk(66%, 73.8%, 0%, 44.7%)
CIE-LABlab(23.25, 37.22, -55.75)
CIE-LCHlch(23.25, 67.03, 303.73°)
OKLaboklab(35.44% 0.025 -0.1609)
OKLCHoklch(35.44% 0.163 278.8)
XYZxyz(6.6867, 3.8741, 25.5895)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30258D #828D25
analogous
#254E8D #30258D #64258D
triadic
#30258D #8D3025 #258D30
tetradic
#30258D #8D254E #828D25 #258D64
square
#30258D #8D254E #828D25 #258D64
split-complementary
#30258D #8D6425 #4E8D25
monochromatic
#0F0C2C #1F185D #30258D #4132BD #6659D3

Accessibility & contrast

On white

11.83
#30258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#30258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30258D
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30258D#FFFFFF#000000##FFFFFF
##30258D1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #30258d;
/* rgb */ color: rgb(48, 37, 141);
/* oklch */ color: oklch(35.4% 0.163 278.8);
Tailwind
colors: {
  custom: {
    50: '#7561af',
    500: '#30258d',
    950: '#000000',
  },
}
SCSS
$custom: #30258d;
$custom-light: #7561af;
$custom-dark: #000000;
JSON
{
  "hex": "#30258d",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 246.346,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35443,
    "c": 0.16284,
    "h": 278.8
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#30258D
secondary
#AEB856
accent
#E246D1
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #30258D

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

Preview Lab → · Contrast checker → · Palette generator →

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