#30366A#30366A

#30366A is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.090 H 275.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#30366A
RGBrgb(48, 54, 106)
HSLhsl(234, 38%, 30%)
HSVhsv(234, 55%, 42%)
CMYKcmyk(54.7%, 49.1%, 0%, 58.4%)
CIE-LABlab(24.66, 13.80, -31.30)
CIE-LCHlch(24.66, 34.21, 293.79°)
OKLaboklab(35.58% 0.0092 -0.089)
OKLCHoklch(35.58% 0.09 275.9)
XYZxyz(5.1388, 4.3070, 14.1934)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30366A #6A6430
analogous
#30536A #30366A #47306A
triadic
#30366A #6A3036 #366A30
tetradic
#30366A #6A3053 #6A6430 #306A47
square
#30366A #6A3053 #6A6430 #306A47
split-complementary
#30366A #6A4730 #536A30
monochromatic
#0A0B16 #1D2140 #30366A #434B94 #5E67B6

Accessibility & contrast

On white

11.28
#30366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#30366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30366A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30366A#FFFFFF#000000##FFFFFF
##30366A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3D6C
Deuteranopia (green-blind)
#193869
Tritanopia (blue-blind)
#17414B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30366a;
/* rgb */ color: rgb(48, 54, 106);
/* oklch */ color: oklch(35.6% 0.090 275.9);
Tailwind
colors: {
  custom: {
    50: '#6d6c95',
    500: '#30366a',
    950: '#000000',
  },
}
SCSS
$custom: #30366a;
$custom-light: #6d6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#30366a",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 233.793,
    "s": 37.662,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35579,
    "c": 0.08952,
    "h": 275.9
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#30366A
secondary
#9B955A
accent
#C25ACE
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #30366A

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

Preview Lab → · Contrast checker → · Palette generator →

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