#30246E#30246E

#30246E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.122 H 284.6°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#30246E
RGBrgb(48, 36, 110)
HSLhsl(250, 51%, 29%)
HSVhsv(250, 67%, 43%)
CMYKcmyk(56.4%, 67.3%, 0%, 56.9%)
CIE-LABlab(20.11, 27.41, -41.24)
CIE-LCHlch(20.11, 49.52, 303.62°)
OKLaboklab(32.29% 0.0309 -0.1184)
OKLCHoklch(32.29% 0.122 284.6)
XYZxyz(4.6634, 3.0157, 15.0852)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30246E #626E24
analogous
#243D6E #30246E #55246E
triadic
#30246E #6E3024 #246E30
tetradic
#30246E #6E243D #626E24 #246E55
square
#30246E #6E243D #626E24 #246E55
split-complementary
#30246E #6E5524 #3D6E24
monochromatic
#0A0817 #1C1540 #30246E #44339C #5D49C3

Accessibility & contrast

On white

13.10
#30246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30246E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30246E#FFFFFF#000000##FFFFFF
##30246E1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#163645
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #30246e;
/* rgb */ color: rgb(48, 36, 110);
/* oklch */ color: oklch(32.3% 0.122 284.6);
Tailwind
colors: {
  custom: {
    50: '#6f5f98',
    500: '#30246e',
    950: '#000000',
  },
}
SCSS
$custom: #30246e;
$custom-light: #6f5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#30246e",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 249.73,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32287,
    "c": 0.12234,
    "h": 284.6
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#30246E
secondary
#93A14D
accent
#DA4EC3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #30246E

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

Preview Lab → · Contrast checker → · Palette generator →

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