#30346F#30346F

#30346F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.100 H 277.1°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#30346F
RGBrgb(48, 52, 111)
HSLhsl(236, 40%, 31%)
HSVhsv(236, 57%, 44%)
CMYKcmyk(56.8%, 53.2%, 0%, 56.5%)
CIE-LABlab(24.42, 16.97, -34.90)
CIE-LCHlch(24.42, 38.80, 295.93°)
OKLaboklab(35.51% 0.0124 -0.0996)
OKLCHoklch(35.51% 0.1 277.1)
XYZxyz(5.3152, 4.2317, 15.5726)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30346F #6F6B30
analogous
#30536F #30346F #4B306F
triadic
#30346F #6F3034 #346F30
tetradic
#30346F #6F3053 #6F6B30 #306F4B
square
#30346F #6F3053 #6F6B30 #306F4B
split-complementary
#30346F #6F4B30 #536F30
monochromatic
#0B0C1A #1E2044 #30346F #42489A #5F65BA

Accessibility & contrast

On white

11.37
#30346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#30346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30346F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30346F#FFFFFF#000000##FFFFFF
##30346F1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#0D386E
Tritanopia (blue-blind)
#12414C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30346f;
/* rgb */ color: rgb(48, 52, 111);
/* oklch */ color: oklch(35.5% 0.100 277.1);
Tailwind
colors: {
  custom: {
    50: '#6e6b99',
    500: '#30346f',
    950: '#000000',
  },
}
SCSS
$custom: #30346f;
$custom-light: #6e6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#30346f",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 236.19,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35508,
    "c": 0.10038,
    "h": 277.1
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#30346F
secondary
#A09C5B
accent
#C858D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #30346F

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

Preview Lab → · Contrast checker → · Palette generator →

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