#30388D#30388D

#30388D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.139 H 273.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#30388D
RGBrgb(48, 56, 141)
HSLhsl(235, 49%, 37%)
HSVhsv(235, 66%, 55%)
CMYKcmyk(66%, 60.3%, 0%, 44.7%)
CIE-LABlab(27.79, 25.13, -48.33)
CIE-LCHlch(27.79, 54.47, 297.48°)
OKLaboklab(38.74% 0.0093 -0.1391)
OKLCHoklch(38.74% 0.139 273.8)
XYZxyz(7.4392, 5.3792, 25.8404)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30388D #8D8530
analogous
#30668D #30388D #57308D
triadic
#30388D #8D3038 #388D30
tetradic
#30388D #8D3066 #8D8530 #308D57
square
#30388D #8D3066 #8D8530 #308D57
split-complementary
#30388D #8D5730 #668D30
monochromatic
#111432 #20265F #30388D #404ABB #6B73CD

Accessibility & contrast

On white

10.12
#30388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#30388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30388D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30388D#FFFFFF#000000##FFFFFF
##30388D1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #30388d;
/* rgb */ color: rgb(48, 56, 141);
/* oklch */ color: oklch(38.7% 0.139 273.8);
Tailwind
colors: {
  custom: {
    50: '#746eaf',
    500: '#30388d',
    950: '#000000',
  },
}
SCSS
$custom: #30388d;
$custom-light: #746eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#30388d",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 234.839,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38744,
    "c": 0.1394,
    "h": 273.8
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#30388D
secondary
#B4AD65
accent
#CD4FD9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30388D

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

Preview Lab → · Contrast checker → · Palette generator →

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