#30389F#30389F

#30389F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.164 H 273.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#30389F
RGBrgb(48, 56, 159)
HSLhsl(236, 54%, 41%)
HSVhsv(236, 70%, 62%)
CMYKcmyk(69.8%, 64.8%, 0%, 37.6%)
CIE-LABlab(29.31, 31.66, -56.87)
CIE-LCHlch(29.31, 65.08, 299.11°)
OKLaboklab(40.34% 0.0087 -0.1642)
OKLCHoklch(40.34% 0.164 273)
XYZxyz(8.8890, 5.9591, 33.4759)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30389F #9F9730
analogous
#306F9F #30389F #60309F
triadic
#30389F #9F3038 #389F30
tetradic
#30389F #9F306F #9F9730 #309F60
square
#30389F #9F306F #9F9730 #309F60
split-complementary
#30389F #9F6030 #6F9F30
monochromatic
#141741 #222770 #30389F #454FC7 #747BD5

Accessibility & contrast

On white

9.58
#30389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#30389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30389F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30389F#FFFFFF#000000##FFFFFF
##30389F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #30389f;
/* rgb */ color: rgb(48, 56, 159);
/* oklch */ color: oklch(40.3% 0.164 273.0);
Tailwind
colors: {
  custom: {
    50: '#776ebc',
    500: '#30389f',
    950: '#000000',
  },
}
SCSS
$custom: #30389f;
$custom-light: #776ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#30389f",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 235.676,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.16439,
    "h": 273
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#30389F
secondary
#BDB76E
accent
#D24BDD
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #30389F

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

Preview Lab → · Contrast checker → · Palette generator →

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