#30379A#30379A

#30379A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.159 H 273.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#30379A
RGBrgb(48, 55, 154)
HSLhsl(236, 52%, 40%)
HSVhsv(236, 69%, 60%)
CMYKcmyk(68.8%, 64.3%, 0%, 39.6%)
CIE-LABlab(28.62, 30.51, -54.94)
CIE-LCHlch(28.62, 62.85, 299.04°)
OKLaboklab(39.7% 0.0098 -0.1585)
OKLCHoklch(39.7% 0.159 273.5)
XYZxyz(8.4159, 5.6931, 31.2209)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30379A #9A9330
analogous
#306C9A #30379A #5E309A
triadic
#30379A #9A3037 #379A30
tetradic
#30379A #9A306C #9A9330 #309A5E
square
#30379A #9A306C #9A9330 #309A5E
split-complementary
#30379A #9A5E30 #6C9A30
monochromatic
#13163D #21266B #30379A #434BC4 #7278D3

Accessibility & contrast

On white

9.82
#30379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#30379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30379A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30379A#FFFFFF#000000##FFFFFF
##30379A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #30379a;
/* rgb */ color: rgb(48, 55, 154);
/* oklch */ color: oklch(39.7% 0.159 273.5);
Tailwind
colors: {
  custom: {
    50: '#766eb9',
    500: '#30379a',
    950: '#000000',
  },
}
SCSS
$custom: #30379a;
$custom-light: #766eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#30379a",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 236.038,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39701,
    "c": 0.15883,
    "h": 273.5
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#30379A
secondary
#BBB56B
accent
#D24CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #30379A

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

Preview Lab → · Contrast checker → · Palette generator →

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