#30366D#30366D

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

Color values

HEX#30366D
RGBrgb(48, 54, 109)
HSLhsl(234, 39%, 31%)
HSVhsv(234, 56%, 43%)
CMYKcmyk(56%, 50.5%, 0%, 57.3%)
CIE-LABlab(24.86, 14.87, -32.91)
CIE-LCHlch(24.86, 36.12, 294.31°)
OKLaboklab(35.79% 0.0096 -0.0938)
OKLCHoklch(35.79% 0.094 275.9)
XYZxyz(5.2975, 4.3705, 15.0295)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30366D #6D6730
analogous
#30546D #30366D #48306D
triadic
#30366D #6D3036 #366D30
tetradic
#30366D #6D3054 #6D6730 #306D48
square
#30366D #6D3054 #6D6730 #306D48
split-complementary
#30366D #6D4830 #546D30
monochromatic
#0B0C18 #1D2143 #30366D #434B97 #5F68B8

Accessibility & contrast

On white

11.20
#30366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30366D
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30366D#FFFFFF#000000##FFFFFF
##30366D1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E6F
Deuteranopia (green-blind)
#15396C
Tritanopia (blue-blind)
#14424C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30366d;
/* rgb */ color: rgb(48, 54, 109);
/* oklch */ color: oklch(35.8% 0.094 275.9);
Tailwind
colors: {
  custom: {
    50: '#6d6c97',
    500: '#30366d',
    950: '#000000',
  },
}
SCSS
$custom: #30366d;
$custom-light: #6d6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#30366d",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 234.098,
    "s": 38.854,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35794,
    "c": 0.09426,
    "h": 275.9
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#30366D
secondary
#9E985B
accent
#C359CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #30366D

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

Preview Lab → · Contrast checker → · Palette generator →

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