#30378E#30378E

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

Color values

HEX#30378E
RGBrgb(48, 55, 142)
HSLhsl(236, 49%, 37%)
HSVhsv(236, 66%, 56%)
CMYKcmyk(66.2%, 61.3%, 0%, 44.3%)
CIE-LABlab(27.61, 26.17, -49.24)
CIE-LCHlch(27.61, 55.76, 297.99°)
OKLaboklab(38.64% 0.0103 -0.1418)
OKLCHoklch(38.64% 0.142 274.1)
XYZxyz(7.4660, 5.3131, 26.2180)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30378E #8E8730
analogous
#30668E #30378E #58308E
triadic
#30378E #8E3037 #378E30
tetradic
#30378E #8E3066 #8E8730 #308E58
square
#30378E #8E3066 #8E8730 #308E58
split-complementary
#30378E #8E5830 #668E30
monochromatic
#111433 #212560 #30378E #3F49BC #6B73CD

Accessibility & contrast

On white

10.18
#30378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#30378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30378E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30378E#FFFFFF#000000##FFFFFF
##30378E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #30378e;
/* rgb */ color: rgb(48, 55, 142);
/* oklch */ color: oklch(38.6% 0.142 274.1);
Tailwind
colors: {
  custom: {
    50: '#746db0',
    500: '#30378e',
    950: '#000000',
  },
}
SCSS
$custom: #30378e;
$custom-light: #746db0;
$custom-dark: #000000;
JSON
{
  "hex": "#30378e",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 235.532,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38636,
    "c": 0.14214,
    "h": 274.1
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#30378E
secondary
#B4AF65
accent
#CF4FD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30378E

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

Preview Lab → · Contrast checker → · Palette generator →

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