#30256B#30256B

#30256B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.2% C 0.117 H 284.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#30256B
RGBrgb(48, 37, 107)
HSLhsl(249, 49%, 28%)
HSVhsv(249, 65%, 42%)
CMYKcmyk(55.1%, 65.4%, 0%, 58%)
CIE-LABlab(20.10, 25.75, -39.31)
CIE-LCHlch(20.10, 46.99, 303.22°)
OKLaboklab(32.2% 0.0301 -0.1127)
OKLCHoklch(32.2% 0.117 284.9)
XYZxyz(4.5335, 3.0128, 14.2497)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30256B #606B25
analogous
#253D6B #30256B #53256B
triadic
#30256B #6B3025 #256B30
tetradic
#30256B #6B253D #606B25 #256B53
square
#30256B #6B253D #606B25 #256B53
split-complementary
#30256B #6B5325 #3D6B25
monochromatic
#0A0817 #1C153E #30256B #443598 #5D4AC0

Accessibility & contrast

On white

13.10
#30256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30256B
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30256B#FFFFFF#000000##FFFFFF
##30256B1.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)
#00336D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#183644
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #30256b;
/* rgb */ color: rgb(48, 37, 107);
/* oklch */ color: oklch(32.2% 0.117 284.9);
Tailwind
colors: {
  custom: {
    50: '#6e6096',
    500: '#30256b',
    950: '#000000',
  },
}
SCSS
$custom: #30256b;
$custom-light: #6e6096;
$custom-dark: #000000;
JSON
{
  "hex": "#30256b",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 249.429,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32198,
    "c": 0.11665,
    "h": 284.9
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#30256B
secondary
#919E4E
accent
#D850C3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #30256B

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

Preview Lab → · Contrast checker → · Palette generator →

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