#30258F#30258F

#30258F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.165 H 278.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#30258F
RGBrgb(48, 37, 143)
HSLhsl(246, 59%, 35%)
HSVhsv(246, 74%, 56%)
CMYKcmyk(66.4%, 74.1%, 0%, 43.9%)
CIE-LABlab(23.45, 37.89, -56.66)
CIE-LCHlch(23.45, 68.16, 303.77°)
OKLaboklab(35.65% 0.0246 -0.1636)
OKLCHoklch(35.65% 0.165 278.5)
XYZxyz(6.8368, 3.9341, 26.3804)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30258F #848F25
analogous
#254F8F #30258F #65258F
triadic
#30258F #8F3025 #258F30
tetradic
#30258F #8F254F #848F25 #258F65
square
#30258F #8F254F #848F25 #258F65
split-complementary
#30258F #8F6525 #4F8F25
monochromatic
#0F0C2E #20185E #30258F #4032C0 #675AD4

Accessibility & contrast

On white

11.75
#30258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#30258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30258F
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30258F#FFFFFF#000000##FFFFFF
##30258F1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #30258f;
/* rgb */ color: rgb(48, 37, 143);
/* oklch */ color: oklch(35.6% 0.165 278.5);
Tailwind
colors: {
  custom: {
    50: '#7661b1',
    500: '#30258f',
    950: '#000000',
  },
}
SCSS
$custom: #30258f;
$custom-light: #7661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#30258f",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 246.226,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35647,
    "c": 0.16541,
    "h": 278.5
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#30258F
secondary
#AFB957
accent
#E246D2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #30258F

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

Preview Lab → · Contrast checker → · Palette generator →

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