#30326F#30326F

#30326F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.103 H 278.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#30326F
RGBrgb(48, 50, 111)
HSLhsl(238, 40%, 31%)
HSVhsv(238, 57%, 44%)
CMYKcmyk(56.8%, 55%, 0%, 56.5%)
CIE-LABlab(23.86, 18.35, -35.80)
CIE-LCHlch(23.86, 40.23, 297.13°)
OKLaboklab(35.08% 0.0148 -0.1023)
OKLCHoklch(35.08% 0.103 278.2)
XYZxyz(5.2279, 4.0569, 15.5434)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30326F #6F6D30
analogous
#30516F #30326F #4D306F
triadic
#30326F #6F3032 #326F30
tetradic
#30326F #6F3051 #6F6D30 #306F4D
square
#30326F #6F3051 #6F6D30 #306F4D
split-complementary
#30326F #6F4D30 #516F30
monochromatic
#0B0C1A #1E1F44 #30326F #42459A #5F62BA

Accessibility & contrast

On white

11.59
#30326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#30326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30326F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30326F#FFFFFF#000000##FFFFFF
##30326F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B71
Deuteranopia (green-blind)
#07366E
Tritanopia (blue-blind)
#12404B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #30326f;
/* rgb */ color: rgb(48, 50, 111);
/* oklch */ color: oklch(35.1% 0.103 278.2);
Tailwind
colors: {
  custom: {
    50: '#6e6999',
    500: '#30326f',
    950: '#000000',
  },
}
SCSS
$custom: #30326f;
$custom-light: #6e6999;
$custom-dark: #000000;
JSON
{
  "hex": "#30326f",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 238.095,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35084,
    "c": 0.10337,
    "h": 278.2
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#30326F
secondary
#A09E5B
accent
#CC58D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #30326F

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

Preview Lab → · Contrast checker → · Palette generator →

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