#30366E#30366E

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

Color values

HEX#30366E
RGBrgb(48, 54, 110)
HSLhsl(234, 39%, 31%)
HSVhsv(234, 56%, 43%)
CMYKcmyk(56.4%, 50.9%, 0%, 56.9%)
CIE-LABlab(24.93, 15.23, -33.45)
CIE-LCHlch(24.93, 36.75, 294.48°)
OKLaboklab(35.87% 0.0098 -0.0953)
OKLCHoklch(35.87% 0.096 275.9)
XYZxyz(5.3517, 4.3922, 15.3146)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30366E #6E6830
analogous
#30556E #30366E #49306E
triadic
#30366E #6E3036 #366E30
tetradic
#30366E #6E3055 #6E6830 #306E49
square
#30366E #6E3055 #6E6830 #306E49
split-complementary
#30366E #6E4930 #556E30
monochromatic
#0B0C19 #1D2143 #30366E #434B99 #5F68B9

Accessibility & contrast

On white

11.18
#30366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30366E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30366E#FFFFFF#000000##FFFFFF
##30366E1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#14396D
Tritanopia (blue-blind)
#13424C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30366e;
/* rgb */ color: rgb(48, 54, 110);
/* oklch */ color: oklch(35.9% 0.096 275.9);
Tailwind
colors: {
  custom: {
    50: '#6e6c98',
    500: '#30366e',
    950: '#000000',
  },
}
SCSS
$custom: #30366e;
$custom-light: #6e6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#30366e",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 234.194,
    "s": 39.241,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35867,
    "c": 0.09584,
    "h": 275.9
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#30366E
secondary
#9F995B
accent
#C459CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #30366E

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

Preview Lab → · Contrast checker → · Palette generator →

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