#30388C#30388C

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

Color values

HEX#30388C
RGBrgb(48, 56, 140)
HSLhsl(235, 49%, 37%)
HSVhsv(235, 66%, 55%)
CMYKcmyk(65.7%, 60%, 0%, 45.1%)
CIE-LABlab(27.71, 24.77, -47.84)
CIE-LCHlch(27.71, 53.87, 297.37°)
OKLaboklab(38.66% 0.0094 -0.1377)
OKLCHoklch(38.66% 0.138 273.9)
XYZxyz(7.3652, 5.3495, 25.4503)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30388C #8C8430
analogous
#30668C #30388C #56308C
triadic
#30388C #8C3038 #388C30
tetradic
#30388C #8C3066 #8C8430 #308C56
square
#30388C #8C3066 #8C8430 #308C56
split-complementary
#30388C #8C5630 #668C30
monochromatic
#111431 #20265E #30388C #404ABA #6A73CC

Accessibility & contrast

On white

10.14
#30388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#30388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30388C
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30388C#FFFFFF#000000##FFFFFF
##30388C1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30388c;
/* rgb */ color: rgb(48, 56, 140);
/* oklch */ color: oklch(38.7% 0.138 273.9);
Tailwind
colors: {
  custom: {
    50: '#736eae',
    500: '#30388c',
    950: '#000000',
  },
}
SCSS
$custom: #30388c;
$custom-light: #736eae;
$custom-dark: #000000;
JSON
{
  "hex": "#30388c",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 234.783,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38659,
    "c": 0.13798,
    "h": 273.9
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#30388C
secondary
#B3AC64
accent
#CD4FD8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30388C

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

Preview Lab → · Contrast checker → · Palette generator →

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