#30388B#30388B

#30388B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.137 H 273.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#30388B
RGBrgb(48, 56, 139)
HSLhsl(235, 49%, 37%)
HSVhsv(235, 65%, 55%)
CMYKcmyk(65.5%, 59.7%, 0%, 45.5%)
CIE-LABlab(27.63, 24.40, -47.35)
CIE-LCHlch(27.63, 53.27, 297.27°)
OKLaboklab(38.57% 0.0093 -0.1362)
OKLCHoklch(38.57% 0.137 273.9)
XYZxyz(7.2918, 5.3202, 25.0637)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30388B #8B8330
analogous
#30668B #30388B #56308B
triadic
#30388B #8B3038 #388B30
tetradic
#30388B #8B3066 #8B8330 #308B56
square
#30388B #8B3066 #8B8330 #308B56
split-complementary
#30388B #8B5630 #668B30
monochromatic
#111330 #20265E #30388B #404AB8 #6A72CC

Accessibility & contrast

On white

10.17
#30388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#30388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30388B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30388B#FFFFFF#000000##FFFFFF
##30388B1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30388b;
/* rgb */ color: rgb(48, 56, 139);
/* oklch */ color: oklch(38.6% 0.137 273.9);
Tailwind
colors: {
  custom: {
    50: '#736eae',
    500: '#30388b',
    950: '#000000',
  },
}
SCSS
$custom: #30388b;
$custom-light: #736eae;
$custom-dark: #000000;
JSON
{
  "hex": "#30388b",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 234.725,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38575,
    "c": 0.13654,
    "h": 273.9
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#30388B
secondary
#B3AC64
accent
#CC50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30388B

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

Preview Lab → · Contrast checker → · Palette generator →

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