#30378D#30378D

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

Color values

HEX#30378D
RGBrgb(48, 55, 141)
HSLhsl(235, 49%, 37%)
HSVhsv(235, 66%, 55%)
CMYKcmyk(66%, 61%, 0%, 44.7%)
CIE-LABlab(27.53, 25.80, -48.75)
CIE-LCHlch(27.53, 55.16, 297.89°)
OKLaboklab(38.55% 0.0103 -0.1403)
OKLCHoklch(38.55% 0.141 274.2)
XYZxyz(7.3912, 5.2832, 25.8244)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30378D #8D8630
analogous
#30668D #30378D #58308D
triadic
#30378D #8D3037 #378D30
tetradic
#30378D #8D3066 #8D8630 #308D58
square
#30378D #8D3066 #8D8630 #308D58
split-complementary
#30378D #8D5830 #668D30
monochromatic
#111332 #20255F #30378D #4049BB #6B72CD

Accessibility & contrast

On white

10.21
#30378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30378D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30378D#FFFFFF#000000##FFFFFF
##30378D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #30378d;
/* rgb */ color: rgb(48, 55, 141);
/* oklch */ color: oklch(38.6% 0.141 274.2);
Tailwind
colors: {
  custom: {
    50: '#746daf',
    500: '#30378d',
    950: '#000000',
  },
}
SCSS
$custom: #30378d;
$custom-light: #746daf;
$custom-dark: #000000;
JSON
{
  "hex": "#30378d",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 235.484,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3855,
    "c": 0.14072,
    "h": 274.2
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#30378D
secondary
#B4AE65
accent
#CE4FD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30378D

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

Preview Lab → · Contrast checker → · Palette generator →

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