#30246F#30246F

#30246F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.124 H 284.4°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#30246F
RGBrgb(48, 36, 111)
HSLhsl(250, 51%, 29%)
HSVhsv(250, 68%, 44%)
CMYKcmyk(56.8%, 67.6%, 0%, 56.5%)
CIE-LABlab(20.19, 27.75, -41.74)
CIE-LCHlch(20.19, 50.12, 303.62°)
OKLaboklab(32.38% 0.0308 -0.1199)
OKLCHoklch(32.38% 0.124 284.4)
XYZxyz(4.7182, 3.0376, 15.3735)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30246F #636F24
analogous
#243E6F #30246F #56246F
triadic
#30246F #6F3024 #246F30
tetradic
#30246F #6F243E #636F24 #246F56
square
#30246F #6F243E #636F24 #246F56
split-complementary
#30246F #6F5624 #3E6F24
monochromatic
#0A0717 #1C1541 #30246F #44339D #5D49C4

Accessibility & contrast

On white

13.06
#30246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#30246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30246F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30246F#FFFFFF#000000##FFFFFF
##30246F1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#153746
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #30246f;
/* rgb */ color: rgb(48, 36, 111);
/* oklch */ color: oklch(32.4% 0.124 284.4);
Tailwind
colors: {
  custom: {
    50: '#6f5f99',
    500: '#30246f',
    950: '#000000',
  },
}
SCSS
$custom: #30246f;
$custom-light: #6f5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#30246f",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 249.6,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32377,
    "c": 0.12375,
    "h": 284.4
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#30246F
secondary
#94A24D
accent
#DA4DC4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #30246F

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

Preview Lab → · Contrast checker → · Palette generator →

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