#30279B#30279B

#30279B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.178 H 276.7°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#30279B
RGBrgb(48, 39, 155)
HSLhsl(245, 60%, 38%)
HSVhsv(245, 75%, 61%)
CMYKcmyk(69%, 74.8%, 0%, 39.2%)
CIE-LABlab(25.09, 40.71, -61.35)
CIE-LCHlch(25.09, 73.63, 303.56°)
OKLaboklab(37.18% 0.0208 -0.1773)
OKLCHoklch(37.18% 0.179 276.7)
XYZxyz(7.8589, 4.4453, 31.4479)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30279B #929B27
analogous
#27589B #30279B #6A279B
triadic
#30279B #9B3027 #279B30
tetradic
#30279B #9B2758 #929B27 #279B6A
square
#30279B #9B2758 #929B27 #279B6A
split-complementary
#30279B #9B6A27 #589B27
monochromatic
#120E39 #211B6A #30279B #3F33CC #6D64D8

Accessibility & contrast

On white

11.12
#30279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#30279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30279B
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30279B#FFFFFF#000000##FFFFFF
##30279B1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30279b;
/* rgb */ color: rgb(48, 39, 155);
/* oklch */ color: oklch(37.2% 0.178 276.7);
Tailwind
colors: {
  custom: {
    50: '#7863ba',
    500: '#30279b',
    950: '#000000',
  },
}
SCSS
$custom: #30279b;
$custom-light: #7863ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30279b",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 244.655,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37181,
    "c": 0.1785,
    "h": 276.7
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#30279B
secondary
#B7BE60
accent
#E345D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30279B

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

Preview Lab → · Contrast checker → · Palette generator →

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