#30398E#30398E

#30398E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.140 H 273.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#30398E
RGBrgb(48, 57, 142)
HSLhsl(234, 49%, 37%)
HSVhsv(234, 66%, 56%)
CMYKcmyk(66.2%, 59.9%, 0%, 44.3%)
CIE-LABlab(28.13, 24.83, -48.39)
CIE-LCHlch(28.13, 54.38, 297.16°)
OKLaboklab(39.03% 0.0084 -0.1393)
OKLCHoklch(39.03% 0.14 273.5)
XYZxyz(7.5629, 5.5070, 26.2503)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30398E #8E8530
analogous
#30688E #30398E #56308E
triadic
#30398E #8E3039 #398E30
tetradic
#30398E #8E3068 #8E8530 #308E56
square
#30398E #8E3068 #8E8530 #308E56
split-complementary
#30398E #8E5630 #688E30
monochromatic
#111433 #212760 #30398E #3F4BBC #6B75CD

Accessibility & contrast

On white

9.99
#30398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#30398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30398E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30398E#FFFFFF#000000##FFFFFF
##30398E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #30398e;
/* rgb */ color: rgb(48, 57, 142);
/* oklch */ color: oklch(39.0% 0.140 273.5);
Tailwind
colors: {
  custom: {
    50: '#746fb0',
    500: '#30398e',
    950: '#000000',
  },
}
SCSS
$custom: #30398e;
$custom-light: #746fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#30398e",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 234.255,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39025,
    "c": 0.1395,
    "h": 273.5
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#30398E
secondary
#B4AD65
accent
#CC4FD9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30398E

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

Preview Lab → · Contrast checker → · Palette generator →

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