#30379F#30379F

#30379F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.166 H 273.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#30379F
RGBrgb(48, 55, 159)
HSLhsl(236, 54%, 41%)
HSVhsv(236, 70%, 62%)
CMYKcmyk(69.8%, 65.4%, 0%, 37.6%)
CIE-LABlab(29.06, 32.30, -57.27)
CIE-LCHlch(29.06, 65.75, 299.43°)
OKLaboklab(40.16% 0.0094 -0.1653)
OKLCHoklch(40.16% 0.166 273.3)
XYZxyz(8.8410, 5.8631, 33.4599)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30379F #9F9830
analogous
#306E9F #30379F #60309F
triadic
#30379F #9F3037 #379F30
tetradic
#30379F #9F306E #9F9830 #309F60
square
#30379F #9F306E #9F9830 #309F60
split-complementary
#30379F #9F6030 #6E9F30
monochromatic
#141641 #222770 #30379F #454DC7 #747AD5

Accessibility & contrast

On white

9.66
#30379F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#30379F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30379F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30379F#FFFFFF#000000##FFFFFF
##30379F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #30379f;
/* rgb */ color: rgb(48, 55, 159);
/* oklch */ color: oklch(40.2% 0.166 273.3);
Tailwind
colors: {
  custom: {
    50: '#786ebc',
    500: '#30379f',
    950: '#000000',
  },
}
SCSS
$custom: #30379f;
$custom-light: #786ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#30379f",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 236.216,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40159,
    "c": 0.16561,
    "h": 273.3
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#30379F
secondary
#BDB86E
accent
#D44BDD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #30379F

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

Preview Lab → · Contrast checker → · Palette generator →

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