#30279F#30279F

#30279F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.183 H 276.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#30279F
RGBrgb(48, 39, 159)
HSLhsl(245, 61%, 39%)
HSVhsv(245, 75%, 62%)
CMYKcmyk(69.8%, 75.5%, 0%, 37.6%)
CIE-LABlab(25.51, 42.02, -63.11)
CIE-LCHlch(25.51, 75.82, 303.66°)
OKLaboklab(37.6% 0.02 -0.1824)
OKLCHoklch(37.6% 0.183 276.2)
XYZxyz(8.2004, 4.5819, 33.2464)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30279F #969F27
analogous
#275A9F #30279F #6C279F
triadic
#30279F #9F3027 #279F30
tetradic
#30279F #9F275A #969F27 #279F6C
square
#30279F #9F275A #969F27 #279F6C
split-complementary
#30279F #9F6C27 #5A9F27
monochromatic
#120F3D #211B6E #30279F #4136CE #6F67DA

Accessibility & contrast

On white

10.96
#30279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#30279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30279F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30279F#FFFFFF#000000##FFFFFF
##30279F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30279f;
/* rgb */ color: rgb(48, 39, 159);
/* oklch */ color: oklch(37.6% 0.183 276.2);
Tailwind
colors: {
  custom: {
    50: '#7963bd',
    500: '#30279f',
    950: '#000000',
  },
}
SCSS
$custom: #30279f;
$custom-light: #7963bd;
$custom-dark: #000000;
JSON
{
  "hex": "#30279f",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 244.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.376,
    "c": 0.18349,
    "h": 276.2
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#30279F
secondary
#B9C062
accent
#E444D8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30279F

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

Preview Lab → · Contrast checker → · Palette generator →

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