#30279A#30279A

#30279A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.177 H 276.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#30279A
RGBrgb(48, 39, 154)
HSLhsl(245, 60%, 38%)
HSVhsv(245, 75%, 60%)
CMYKcmyk(68.8%, 74.7%, 0%, 39.6%)
CIE-LABlab(24.99, 40.38, -60.91)
CIE-LCHlch(24.99, 73.08, 303.54°)
OKLaboklab(37.08% 0.021 -0.176)
OKLCHoklch(37.08% 0.177 276.8)
XYZxyz(7.7753, 4.4118, 31.0074)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30279A #919A27
analogous
#27579A #30279A #6A279A
triadic
#30279A #9A3027 #279A30
tetradic
#30279A #9A2757 #919A27 #279A6A
square
#30279A #9A2757 #919A27 #279A6A
split-complementary
#30279A #9A6A27 #579A27
monochromatic
#120E38 #211B69 #30279A #3F33CB #6D64D8

Accessibility & contrast

On white

11.15
#30279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#30279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30279A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30279A#FFFFFF#000000##FFFFFF
##30279A1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30279a;
/* rgb */ color: rgb(48, 39, 154);
/* oklch */ color: oklch(37.1% 0.177 276.8);
Tailwind
colors: {
  custom: {
    50: '#7863b9',
    500: '#30279a',
    950: '#000000',
  },
}
SCSS
$custom: #30279a;
$custom-light: #7863b9;
$custom-dark: #000000;
JSON
{
  "hex": "#30279a",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 244.696,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37076,
    "c": 0.17725,
    "h": 276.8
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#30279A
secondary
#B6BD5F
accent
#E345D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30279A

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

Preview Lab → · Contrast checker → · Palette generator →

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