#30256A#30256A

#30256A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.1% C 0.115 H 285.2°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#30256A
RGBrgb(48, 37, 106)
HSLhsl(250, 48%, 28%)
HSVhsv(250, 65%, 42%)
CMYKcmyk(54.7%, 65.1%, 0%, 58.4%)
CIE-LABlab(20.01, 25.41, -38.79)
CIE-LCHlch(20.01, 46.37, 303.22°)
OKLaboklab(32.11% 0.0302 -0.1112)
OKLCHoklch(32.11% 0.115 285.2)
XYZxyz(4.4812, 2.9919, 13.9742)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30256A #5F6A25
analogous
#253C6A #30256A #52256A
triadic
#30256A #6A3025 #256A30
tetradic
#30256A #6A253C #5F6A25 #256A52
square
#30256A #6A253C #5F6A25 #256A52
split-complementary
#30256A #6A5225 #3C6A25
monochromatic
#0A0817 #1B153D #30256A #453597 #5D4AC0

Accessibility & contrast

On white

13.14
#30256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#30256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30256A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30256A#FFFFFF#000000##FFFFFF
##30256A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#193543
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #30256a;
/* rgb */ color: rgb(48, 37, 106);
/* oklch */ color: oklch(32.1% 0.115 285.2);
Tailwind
colors: {
  custom: {
    50: '#6e6095',
    500: '#30256a',
    950: '#000000',
  },
}
SCSS
$custom: #30256a;
$custom-light: #6e6095;
$custom-dark: #000000;
JSON
{
  "hex": "#30256a",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 249.565,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32111,
    "c": 0.11521,
    "h": 285.2
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#30256A
secondary
#909D4E
accent
#D850C2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #30256A

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

Preview Lab → · Contrast checker → · Palette generator →

#30256A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva