#30256E#30256E

#30256E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.121 H 284.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#30256E
RGBrgb(48, 37, 110)
HSLhsl(249, 50%, 29%)
HSVhsv(249, 66%, 43%)
CMYKcmyk(56.4%, 66.4%, 0%, 56.9%)
CIE-LABlab(20.35, 26.77, -40.84)
CIE-LCHlch(20.35, 48.83, 303.24°)
OKLaboklab(32.46% 0.0298 -0.1172)
OKLCHoklch(32.46% 0.121 284.3)
XYZxyz(4.6941, 3.0770, 15.0954)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30256E #636E25
analogous
#253F6E #30256E #55256E
triadic
#30256E #6E3025 #256E30
tetradic
#30256E #6E253F #636E25 #256E55
square
#30256E #6E253F #636E25 #256E55
split-complementary
#30256E #6E5525 #3F6E25
monochromatic
#0A0817 #1C1640 #30256E #44349C #5D4BC2

Accessibility & contrast

On white

13.00
#30256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#30256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30256E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30256E#FFFFFF#000000##FFFFFF
##30256E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30256e;
/* rgb */ color: rgb(48, 37, 110);
/* oklch */ color: oklch(32.5% 0.121 284.3);
Tailwind
colors: {
  custom: {
    50: '#6f6098',
    500: '#30256e',
    950: '#000000',
  },
}
SCSS
$custom: #30256e;
$custom-light: #6f6098;
$custom-dark: #000000;
JSON
{
  "hex": "#30256e",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 249.041,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32464,
    "c": 0.12095,
    "h": 284.3
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#30256E
secondary
#94A14E
accent
#D94FC4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #30256E

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

Preview Lab → · Contrast checker → · Palette generator →

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