#333783#333783

#333783 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.126 H 276.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#333783
RGBrgb(51, 55, 131)
HSLhsl(237, 44%, 36%)
HSVhsv(237, 61%, 51%)
CMYKcmyk(61.1%, 58%, 0%, 48.6%)
CIE-LABlab(26.95, 22.73, -43.47)
CIE-LCHlch(26.95, 49.05, 297.60°)
OKLaboklab(37.92% 0.0139 -0.1247)
OKLCHoklch(37.92% 0.126 276.3)
XYZxyz(6.8268, 5.0744, 22.0880)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333783 #837F33
analogous
#335F83 #333783 #573383
triadic
#333783 #833337 #378333
tetradic
#333783 #83335F #837F33 #338357
square
#333783 #83335F #837F33 #338357
split-complementary
#333783 #835733 #5F8333
monochromatic
#11122B #222557 #333783 #4449AF #6B70C5

Accessibility & contrast

On white

10.42
#333783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#333783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333783
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333783#FFFFFF#000000##FFFFFF
##3337831.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #333783;
/* rgb */ color: rgb(51, 55, 131);
/* oklch */ color: oklch(37.9% 0.126 276.3);
Tailwind
colors: {
  custom: {
    50: '#736da8',
    500: '#333783',
    950: '#000000',
  },
}
SCSS
$custom: #333783;
$custom-light: #736da8;
$custom-dark: #000000;
JSON
{
  "hex": "#333783",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 131
  },
  "hsl": {
    "h": 237,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.1255,
    "h": 276.3
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#333783
secondary
#ADAA65
accent
#CD54D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #333783

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

Preview Lab → · Contrast checker → · Palette generator →

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