#30378F#30378F

#30378F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.144 H 274.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#30378F
RGBrgb(48, 55, 143)
HSLhsl(236, 50%, 37%)
HSVhsv(236, 66%, 56%)
CMYKcmyk(66.4%, 61.5%, 0%, 43.9%)
CIE-LABlab(27.69, 26.53, -49.72)
CIE-LCHlch(27.69, 56.36, 298.08°)
OKLaboklab(38.72% 0.0102 -0.1432)
OKLCHoklch(38.72% 0.144 274.1)
XYZxyz(7.5414, 5.3433, 26.6152)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30378F #8F8830
analogous
#30668F #30378F #59308F
triadic
#30378F #8F3037 #378F30
tetradic
#30378F #8F3066 #8F8830 #308F59
square
#30378F #8F3066 #8F8830 #308F59
split-complementary
#30378F #8F5930 #668F30
monochromatic
#111433 #212561 #30378F #3F49BD #6C73CE

Accessibility & contrast

On white

10.15
#30378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#30378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30378F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30378F#FFFFFF#000000##FFFFFF
##30378F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #30378f;
/* rgb */ color: rgb(48, 55, 143);
/* oklch */ color: oklch(38.7% 0.144 274.1);
Tailwind
colors: {
  custom: {
    50: '#746db1',
    500: '#30378f',
    950: '#000000',
  },
}
SCSS
$custom: #30378f;
$custom-light: #746db1;
$custom-dark: #000000;
JSON
{
  "hex": "#30378f",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 235.579,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38723,
    "c": 0.14355,
    "h": 274.1
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#30378F
secondary
#B5AF66
accent
#CF4FD9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #30378F

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

Preview Lab → · Contrast checker → · Palette generator →

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