#30246D#30246D

#30246D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.121 H 284.9°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#30246D
RGBrgb(48, 36, 109)
HSLhsl(250, 50%, 28%)
HSVhsv(250, 67%, 43%)
CMYKcmyk(56%, 67%, 0%, 57.3%)
CIE-LABlab(20.02, 27.08, -40.73)
CIE-LCHlch(20.02, 48.91, 303.62°)
OKLaboklab(32.2% 0.031 -0.1169)
OKLCHoklch(32.2% 0.121 284.9)
XYZxyz(4.6093, 2.9940, 14.8001)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30246D #616D24
analogous
#243C6D #30246D #54246D
triadic
#30246D #6D3024 #246D30
tetradic
#30246D #6D243C #616D24 #246D54
square
#30246D #6D243C #616D24 #246D54
split-complementary
#30246D #6D5424 #3C6D24
monochromatic
#0A0817 #1C153F #30246D #44339B #5D49C3

Accessibility & contrast

On white

13.13
#30246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#30246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30246D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30246D#FFFFFF#000000##FFFFFF
##30246D1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#173645
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #30246d;
/* rgb */ color: rgb(48, 36, 109);
/* oklch */ color: oklch(32.2% 0.121 284.9);
Tailwind
colors: {
  custom: {
    50: '#6f5f97',
    500: '#30246d',
    950: '#000000',
  },
}
SCSS
$custom: #30246d;
$custom-light: #6f5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#30246d",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 249.863,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32197,
    "c": 0.12092,
    "h": 284.9
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#30246D
secondary
#92A04D
accent
#DA4EC3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #30246D

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

Preview Lab → · Contrast checker → · Palette generator →

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