#333378#333378

#333378 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.2% C 0.115 H 279.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#333378
RGBrgb(51, 51, 120)
HSLhsl(240, 40%, 34%)
HSVhsv(240, 58%, 47%)
CMYKcmyk(57.5%, 57.5%, 0%, 52.9%)
CIE-LABlab(25.04, 21.52, -39.64)
CIE-LCHlch(25.04, 45.10, 298.50°)
OKLaboklab(36.24% 0.018 -0.1135)
OKLCHoklch(36.24% 0.115 279)
XYZxyz(5.9382, 4.4271, 18.3073)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333378 #787833
analogous
#335578 #333378 #553378
triadic
#333378 #783333 #337833
tetradic
#333378 #783355 #787833 #337855
square
#333378 #783355 #787833 #337855
split-complementary
#333378 #785533 #557833
monochromatic
#0E0E22 #21214D #333378 #4545A3 #6767BE

Accessibility & contrast

On white

11.14
#333378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#333378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333378
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333378#FFFFFF#000000##FFFFFF
##3333781.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053E7A
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#114350
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #333378;
/* rgb */ color: rgb(51, 51, 120);
/* oklch */ color: oklch(36.2% 0.115 279.0);
Tailwind
colors: {
  custom: {
    50: '#716a9f',
    500: '#333378',
    950: '#000000',
  },
}
SCSS
$custom: #333378;
$custom-light: #716a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#333378",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 240,
    "s": 40.351,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36237,
    "c": 0.1149,
    "h": 279
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#333378
secondary
#A6A660
accent
#D058D0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #333378

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

Preview Lab → · Contrast checker → · Palette generator →

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