#30379C#30379C

#30379C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.162 H 273.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#30379C
RGBrgb(48, 55, 156)
HSLhsl(236, 53%, 40%)
HSVhsv(236, 69%, 61%)
CMYKcmyk(69.2%, 64.7%, 0%, 38.8%)
CIE-LABlab(28.80, 31.23, -55.88)
CIE-LCHlch(28.80, 64.01, 299.20°)
OKLaboklab(39.88% 0.0097 -0.1613)
OKLCHoklch(39.88% 0.162 273.4)
XYZxyz(8.5839, 5.7603, 32.1055)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30379C #9C9530
analogous
#306D9C #30379C #5F309C
triadic
#30379C #9C3037 #379C30
tetradic
#30379C #9C306D #9C9530 #309C5F
square
#30379C #9C306D #9C9530 #309C5F
split-complementary
#30379C #9C5F30 #6D9C30
monochromatic
#13163E #22276D #30379C #444CC5 #7379D4

Accessibility & contrast

On white

9.76
#30379C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#30379C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30379C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30379C#FFFFFF#000000##FFFFFF
##30379C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #30379c;
/* rgb */ color: rgb(48, 55, 156);
/* oklch */ color: oklch(39.9% 0.162 273.4);
Tailwind
colors: {
  custom: {
    50: '#776eba',
    500: '#30379c',
    950: '#000000',
  },
}
SCSS
$custom: #30379c;
$custom-light: #776eba;
$custom-dark: #000000;
JSON
{
  "hex": "#30379c",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 156
  },
  "hsl": {
    "h": 236.111,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.16155,
    "h": 273.4
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#30379C
secondary
#BCB66C
accent
#D34BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #30379C

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

Preview Lab → · Contrast checker → · Palette generator →

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