#323078#323078

#323078 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.6% C 0.119 H 279.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#323078
RGBrgb(50, 48, 120)
HSLhsl(242, 43%, 33%)
HSVhsv(242, 60%, 47%)
CMYKcmyk(58.3%, 60%, 0%, 52.9%)
CIE-LABlab(24.15, 23.33, -41.07)
CIE-LCHlch(24.15, 47.23, 299.61°)
OKLaboklab(35.56% 0.02 -0.1177)
OKLCHoklch(35.56% 0.119 279.7)
XYZxyz(5.7614, 4.1477, 18.2626)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323078 #767830
analogous
#305278 #323078 #563078
triadic
#323078 #783230 #307832
tetradic
#323078 #783052 #767830 #307856
square
#323078 #783052 #767830 #307856
split-complementary
#323078 #785630 #527830
monochromatic
#0E0D21 #201F4C #323078 #4441A4 #6562C0

Accessibility & contrast

On white

11.48
#323078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#323078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323078
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323078#FFFFFF#000000##FFFFFF
##3230781.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#0D414F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #323078;
/* rgb */ color: rgb(50, 48, 120);
/* oklch */ color: oklch(35.6% 0.119 279.7);
Tailwind
colors: {
  custom: {
    50: '#7168a0',
    500: '#323078',
    950: '#000000',
  },
}
SCSS
$custom: #323078;
$custom-light: #7168a0;
$custom-dark: #000000;
JSON
{
  "hex": "#323078",
  "rgb": {
    "r": 50,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 241.667,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35561,
    "c": 0.11944,
    "h": 279.7
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#323078
secondary
#A5A75C
accent
#D355CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #323078

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

Preview Lab → · Contrast checker → · Palette generator →

#323078 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva