#30366B#30366B

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

Color values

HEX#30366B
RGBrgb(48, 54, 107)
HSLhsl(234, 38%, 30%)
HSVhsv(234, 55%, 42%)
CMYKcmyk(55.1%, 49.5%, 0%, 58%)
CIE-LABlab(24.73, 14.16, -31.84)
CIE-LCHlch(24.73, 34.85, 293.97°)
OKLaboklab(35.65% 0.0094 -0.0906)
OKLCHoklch(35.65% 0.091 275.9)
XYZxyz(5.1911, 4.3279, 14.4689)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30366B #6B6530
analogous
#30536B #30366B #47306B
triadic
#30366B #6B3036 #366B30
tetradic
#30366B #6B3053 #6B6530 #306B47
square
#30366B #6B3053 #6B6530 #306B47
split-complementary
#30366B #6B4730 #536B30
monochromatic
#0A0B17 #1D2141 #30366B #434B95 #5E67B7

Accessibility & contrast

On white

11.26
#30366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#30366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30366B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30366B#FFFFFF#000000##FFFFFF
##30366B1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6D
Deuteranopia (green-blind)
#18386A
Tritanopia (blue-blind)
#16424B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30366b;
/* rgb */ color: rgb(48, 54, 107);
/* oklch */ color: oklch(35.6% 0.091 275.9);
Tailwind
colors: {
  custom: {
    50: '#6d6c96',
    500: '#30366b',
    950: '#000000',
  },
}
SCSS
$custom: #30366b;
$custom-light: #6d6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#30366b",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 233.898,
    "s": 38.065,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3565,
    "c": 0.0911,
    "h": 275.9
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#30366B
secondary
#9C965B
accent
#C25ACE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #30366B

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

Preview Lab → · Contrast checker → · Palette generator →

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