#30388E#30388E

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

Color values

HEX#30388E
RGBrgb(48, 56, 142)
HSLhsl(235, 49%, 37%)
HSVhsv(235, 66%, 56%)
CMYKcmyk(66.2%, 60.6%, 0%, 44.3%)
CIE-LABlab(27.87, 25.50, -48.81)
CIE-LCHlch(27.87, 55.07, 297.58°)
OKLaboklab(38.83% 0.0093 -0.1405)
OKLCHoklch(38.83% 0.141 273.8)
XYZxyz(7.5140, 5.4091, 26.2340)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30388E #8E8630
analogous
#30678E #30388E #57308E
triadic
#30388E #8E3038 #388E30
tetradic
#30388E #8E3067 #8E8630 #308E57
square
#30388E #8E3067 #8E8630 #308E57
split-complementary
#30388E #8E5730 #678E30
monochromatic
#111433 #212660 #30388E #3F4ABC #6B74CD

Accessibility & contrast

On white

10.09
#30388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30388E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30388E#FFFFFF#000000##FFFFFF
##30388E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30388e;
/* rgb */ color: rgb(48, 56, 142);
/* oklch */ color: oklch(38.8% 0.141 273.8);
Tailwind
colors: {
  custom: {
    50: '#746eb0',
    500: '#30388e',
    950: '#000000',
  },
}
SCSS
$custom: #30388e;
$custom-light: #746eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#30388e",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 234.894,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3883,
    "c": 0.14083,
    "h": 273.8
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30388E

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

Preview Lab → · Contrast checker → · Palette generator →

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