#30388A#30388A

#30388A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.135 H 274.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#30388A
RGBrgb(48, 56, 138)
HSLhsl(235, 48%, 36%)
HSVhsv(235, 65%, 54%)
CMYKcmyk(65.2%, 59.4%, 0%, 45.9%)
CIE-LABlab(27.55, 24.04, -46.86)
CIE-LCHlch(27.55, 52.67, 297.16°)
OKLaboklab(38.49% 0.0093 -0.1348)
OKLCHoklch(38.49% 0.135 274)
XYZxyz(7.2190, 5.2911, 24.6807)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30388A #8A8230
analogous
#30658A #30388A #55308A
triadic
#30388A #8A3038 #388A30
tetradic
#30388A #8A3065 #8A8230 #308A55
square
#30388A #8A3065 #8A8230 #308A55
split-complementary
#30388A #8A5530 #658A30
monochromatic
#10132F #20265D #30388A #404AB7 #6972CB

Accessibility & contrast

On white

10.20
#30388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30388A
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30388A#FFFFFF#000000##FFFFFF
##30388A1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30388a;
/* rgb */ color: rgb(48, 56, 138);
/* oklch */ color: oklch(38.5% 0.135 274.0);
Tailwind
colors: {
  custom: {
    50: '#736ead',
    500: '#30388a',
    950: '#000000',
  },
}
SCSS
$custom: #30388a;
$custom-light: #736ead;
$custom-dark: #000000;
JSON
{
  "hex": "#30388a",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 234.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3849,
    "c": 0.1351,
    "h": 274
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30388A

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

Preview Lab → · Contrast checker → · Palette generator →

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