#30259B#30259B

#30259B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.181 H 277.0°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#30259B
RGBrgb(48, 37, 155)
HSLhsl(246, 61%, 38%)
HSVhsv(246, 76%, 61%)
CMYKcmyk(69%, 76.1%, 0%, 39.2%)
CIE-LABlab(24.69, 41.83, -62.01)
CIE-LCHlch(24.69, 74.80, 304.00°)
OKLaboklab(36.9% 0.022 -0.1792)
OKLCHoklch(36.9% 0.181 277)
XYZxyz(7.7950, 4.3174, 31.4265)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30259B #909B25
analogous
#25559B #30259B #6B259B
triadic
#30259B #9B3025 #259B30
tetradic
#30259B #9B2555 #909B25 #259B6B
square
#30259B #9B2555 #909B25 #259B6B
split-complementary
#30259B #9B6B25 #559B25
monochromatic
#110D38 #21196A #30259B #3F31CC #6C61D9

Accessibility & contrast

On white

11.27
#30259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#30259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30259B
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30259B#FFFFFF#000000##FFFFFF
##30259B1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30259b;
/* rgb */ color: rgb(48, 37, 155);
/* oklch */ color: oklch(36.9% 0.181 277.0);
Tailwind
colors: {
  custom: {
    50: '#7862ba',
    500: '#30259b',
    950: '#000000',
  },
}
SCSS
$custom: #30259b;
$custom-light: #7862ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30259b",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 245.593,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36899,
    "c": 0.18052,
    "h": 277
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30259B

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

Preview Lab → · Contrast checker → · Palette generator →

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