#30366F#30366F

#30366F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.097 H 275.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#30366F
RGBrgb(48, 54, 111)
HSLhsl(234, 40%, 31%)
HSVhsv(234, 57%, 44%)
CMYKcmyk(56.8%, 51.4%, 0%, 56.5%)
CIE-LABlab(25.00, 15.59, -33.98)
CIE-LCHlch(25.00, 37.38, 294.64°)
OKLaboklab(35.94% 0.0099 -0.0969)
OKLCHoklch(35.94% 0.097 275.8)
XYZxyz(5.4064, 4.4141, 15.6030)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30366F #6F6930
analogous
#30556F #30366F #49306F
triadic
#30366F #6F3036 #366F30
tetradic
#30366F #6F3055 #6F6930 #306F49
square
#30366F #6F3055 #6F6930 #306F49
split-complementary
#30366F #6F4930 #556F30
monochromatic
#0B0C1A #1E2144 #30366F #424B9A #5F68BA

Accessibility & contrast

On white

11.15
#30366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#30366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30366F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30366F#FFFFFF#000000##FFFFFF
##30366F1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E71
Deuteranopia (green-blind)
#13396E
Tritanopia (blue-blind)
#12434D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30366f;
/* rgb */ color: rgb(48, 54, 111);
/* oklch */ color: oklch(35.9% 0.097 275.8);
Tailwind
colors: {
  custom: {
    50: '#6e6c99',
    500: '#30366f',
    950: '#000000',
  },
}
SCSS
$custom: #30366f;
$custom-light: #6e6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#30366f",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 234.286,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3594,
    "c": 0.0974,
    "h": 275.8
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#30366F
secondary
#A09A5B
accent
#C458D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #30366F

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

Preview Lab → · Contrast checker → · Palette generator →

#30366F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva