#30389B#30389B

#30389B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.159 H 273.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#30389B
RGBrgb(48, 56, 155)
HSLhsl(236, 53%, 40%)
HSVhsv(236, 69%, 61%)
CMYKcmyk(69%, 63.9%, 0%, 39.2%)
CIE-LABlab(28.96, 30.22, -55.01)
CIE-LCHlch(28.96, 62.76, 298.78°)
OKLaboklab(39.97% 0.0089 -0.1587)
OKLCHoklch(39.97% 0.159 273.2)
XYZxyz(8.5475, 5.8225, 31.6774)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30389B #9B9330
analogous
#306E9B #30389B #5E309B
triadic
#30389B #9B3038 #389B30
tetradic
#30389B #9B306E #9B9330 #309B5E
square
#30389B #9B306E #9B9330 #309B5E
split-complementary
#30389B #9B5E30 #6E9B30
monochromatic
#13163E #22276C #30389B #434DC5 #7279D3

Accessibility & contrast

On white

9.70
#30389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#30389B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30389B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30389B#FFFFFF#000000##FFFFFF
##30389B1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30389b;
/* rgb */ color: rgb(48, 56, 155);
/* oklch */ color: oklch(40.0% 0.159 273.2);
Tailwind
colors: {
  custom: {
    50: '#776eb9',
    500: '#30389b',
    950: '#000000',
  },
}
SCSS
$custom: #30389b;
$custom-light: #776eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#30389b",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 235.514,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.15895,
    "h": 273.2
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#30389B
secondary
#BBB56C
accent
#D14CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #30389B

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

Preview Lab → · Contrast checker → · Palette generator →

#30389B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva