#30277D#30277D

#30277D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.139 H 280.8°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#30277D
RGBrgb(48, 39, 125)
HSLhsl(246, 52%, 32%)
HSVhsv(246, 69%, 49%)
CMYKcmyk(61.6%, 68.8%, 0%, 51%)
CIE-LABlab(22.16, 30.60, -47.49)
CIE-LCHlch(22.16, 56.50, 302.79°)
OKLaboklab(34.19% 0.0261 -0.1367)
OKLCHoklch(34.19% 0.139 280.8)
XYZxyz(5.6450, 3.5597, 19.7877)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30277D #747D27
analogous
#27497D #30277D #5B277D
triadic
#30277D #7D3027 #277D30
tetradic
#30277D #7D2749 #747D27 #277D5B
square
#30277D #7D2749 #747D27 #277D5B
split-complementary
#30277D #7D5B27 #497D27
monochromatic
#0C0A20 #1E184E #30277D #4236AC #6155CA

Accessibility & contrast

On white

12.27
#30277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#30277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30277D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30277D#FFFFFF#000000##FFFFFF
##30277D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #30277d;
/* rgb */ color: rgb(48, 39, 125);
/* oklch */ color: oklch(34.2% 0.139 280.8);
Tailwind
colors: {
  custom: {
    50: '#7262a3',
    500: '#30277d',
    950: '#000000',
  },
}
SCSS
$custom: #30277d;
$custom-light: #7262a3;
$custom-dark: #000000;
JSON
{
  "hex": "#30277d",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 246.279,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3419,
    "c": 0.13921,
    "h": 280.8
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#30277D
secondary
#A5AF51
accent
#DC4CCD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #30277D

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

Preview Lab → · Contrast checker → · Palette generator →

#30277D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva