#333078#333078

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

Color values

HEX#333078
RGBrgb(51, 48, 120)
HSLhsl(243, 43%, 33%)
HSVhsv(243, 60%, 47%)
CMYKcmyk(57.5%, 60%, 0%, 52.9%)
CIE-LABlab(24.24, 23.54, -40.93)
CIE-LCHlch(24.24, 47.22, 299.91°)
OKLaboklab(35.64% 0.0214 -0.1173)
OKLCHoklch(35.64% 0.119 280.3)
XYZxyz(5.8113, 4.1734, 18.2650)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333078 #757830
analogous
#305178 #333078 #573078
triadic
#333078 #783330 #307833
tetradic
#333078 #783051 #757830 #307857
square
#333078 #783051 #757830 #307857
split-complementary
#333078 #785730 #517830
monochromatic
#0E0D21 #201F4C #333078 #4641A4 #6662C0

Accessibility & contrast

On white

11.45
#333078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333078
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333078#FFFFFF#000000##FFFFFF
##3330781.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#11414F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #333078;
/* rgb */ color: rgb(51, 48, 120);
/* oklch */ color: oklch(35.6% 0.119 280.3);
Tailwind
colors: {
  custom: {
    50: '#7268a0',
    500: '#333078',
    950: '#000000',
  },
}
SCSS
$custom: #333078;
$custom-light: #7268a0;
$custom-dark: #000000;
JSON
{
  "hex": "#333078",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 242.5,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35643,
    "c": 0.11924,
    "h": 280.3
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#333078
secondary
#A4A75C
accent
#D355CD
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #333078

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

Preview Lab → · Contrast checker → · Palette generator →

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