#30398A#30398A

#30398A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.134 H 273.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#30398A
RGBrgb(48, 57, 138)
HSLhsl(234, 48%, 36%)
HSVhsv(234, 65%, 54%)
CMYKcmyk(65.2%, 58.7%, 0%, 45.9%)
CIE-LABlab(27.82, 23.36, -46.43)
CIE-LCHlch(27.82, 51.98, 296.71°)
OKLaboklab(38.69% 0.0084 -0.1335)
OKLCHoklch(38.69% 0.134 273.6)
XYZxyz(7.2680, 5.3890, 24.6970)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30398A #8A8130
analogous
#30668A #30398A #54308A
triadic
#30398A #8A3039 #398A30
tetradic
#30398A #8A3066 #8A8130 #308A54
square
#30398A #8A3066 #8A8130 #308A54
split-complementary
#30398A #8A5430 #668A30
monochromatic
#10132F #20265D #30398A #404CB7 #6973CB

Accessibility & contrast

On white

10.11
#30398A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#30398A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30398A
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30398A#FFFFFF#000000##FFFFFF
##30398A1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #30398a;
/* rgb */ color: rgb(48, 57, 138);
/* oklch */ color: oklch(38.7% 0.134 273.6);
Tailwind
colors: {
  custom: {
    50: '#736fad',
    500: '#30398a',
    950: '#000000',
  },
}
SCSS
$custom: #30398a;
$custom-light: #736fad;
$custom-dark: #000000;
JSON
{
  "hex": "#30398a",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 234,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38689,
    "c": 0.13375,
    "h": 273.6
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#30398A
secondary
#B2AA64
accent
#CA50D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30398A

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

Preview Lab → · Contrast checker → · Palette generator →

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