#30378C#30378C

#30378C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.139 H 274.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#30378C
RGBrgb(48, 55, 140)
HSLhsl(235, 49%, 37%)
HSVhsv(235, 66%, 55%)
CMYKcmyk(65.7%, 60.7%, 0%, 45.1%)
CIE-LABlab(27.45, 25.44, -48.27)
CIE-LCHlch(27.45, 54.56, 297.79°)
OKLaboklab(38.46% 0.0103 -0.1389)
OKLCHoklch(38.46% 0.139 274.2)
XYZxyz(7.3172, 5.2536, 25.4343)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30378C #8C8530
analogous
#30658C #30378C #57308C
triadic
#30378C #8C3037 #378C30
tetradic
#30378C #8C3065 #8C8530 #308C57
square
#30378C #8C3065 #8C8530 #308C57
split-complementary
#30378C #8C5730 #658C30
monochromatic
#111331 #20255E #30378C #4049BA #6A72CC

Accessibility & contrast

On white

10.24
#30378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30378C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30378C#FFFFFF#000000##FFFFFF
##30378C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #30378c;
/* rgb */ color: rgb(48, 55, 140);
/* oklch */ color: oklch(38.5% 0.139 274.2);
Tailwind
colors: {
  custom: {
    50: '#736dae',
    500: '#30378c',
    950: '#000000',
  },
}
SCSS
$custom: #30378c;
$custom-light: #736dae;
$custom-dark: #000000;
JSON
{
  "hex": "#30378c",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 235.435,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38464,
    "c": 0.1393,
    "h": 274.2
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30378C

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

Preview Lab → · Contrast checker → · Palette generator →

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