#30378B#30378B

#30378B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.138 H 274.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#30378B
RGBrgb(48, 55, 139)
HSLhsl(235, 49%, 37%)
HSVhsv(235, 65%, 55%)
CMYKcmyk(65.5%, 60.4%, 0%, 45.5%)
CIE-LABlab(27.36, 25.07, -47.78)
CIE-LCHlch(27.36, 53.96, 297.69°)
OKLaboklab(38.38% 0.0103 -0.1375)
OKLCHoklch(38.38% 0.138 274.3)
XYZxyz(7.2438, 5.2242, 25.0477)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30378B #8B8430
analogous
#30658B #30378B #57308B
triadic
#30378B #8B3037 #378B30
tetradic
#30378B #8B3065 #8B8430 #308B57
square
#30378B #8B3065 #8B8430 #308B57
split-complementary
#30378B #8B5730 #658B30
monochromatic
#111330 #20255E #30378B #4049B8 #6A71CC

Accessibility & contrast

On white

10.27
#30378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#30378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30378B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30378B#FFFFFF#000000##FFFFFF
##30378B1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #30378b;
/* rgb */ color: rgb(48, 55, 139);
/* oklch */ color: oklch(38.4% 0.138 274.3);
Tailwind
colors: {
  custom: {
    50: '#736dae',
    500: '#30378b',
    950: '#000000',
  },
}
SCSS
$custom: #30378b;
$custom-light: #736dae;
$custom-dark: #000000;
JSON
{
  "hex": "#30378b",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 235.385,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38379,
    "c": 0.13787,
    "h": 274.3
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#30378B
secondary
#B3AD64
accent
#CE50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30378B

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

Preview Lab → · Contrast checker → · Palette generator →

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