#333683#333683

#333683 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.127 H 276.8°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#333683
RGBrgb(51, 54, 131)
HSLhsl(238, 44%, 36%)
HSVhsv(238, 61%, 51%)
CMYKcmyk(61.1%, 58.8%, 0%, 48.6%)
CIE-LABlab(26.68, 23.40, -43.90)
CIE-LCHlch(26.68, 49.75, 298.06°)
OKLaboklab(37.72% 0.0149 -0.126)
OKLCHoklch(37.72% 0.127 276.8)
XYZxyz(6.7798, 4.9803, 22.0724)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333683 #838033
analogous
#335E83 #333683 #583383
triadic
#333683 #833336 #368333
tetradic
#333683 #83335E #838033 #338358
square
#333683 #83335E #838033 #338358
split-complementary
#333683 #835833 #5E8333
monochromatic
#11122B #222457 #333683 #4448AF #6B6EC5

Accessibility & contrast

On white

10.52
#333683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#333683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333683
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333683#FFFFFF#000000##FFFFFF
##3336831.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333683;
/* rgb */ color: rgb(51, 54, 131);
/* oklch */ color: oklch(37.7% 0.127 276.8);
Tailwind
colors: {
  custom: {
    50: '#736da8',
    500: '#333683',
    950: '#000000',
  },
}
SCSS
$custom: #333683;
$custom-light: #736da8;
$custom-dark: #000000;
JSON
{
  "hex": "#333683",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 237.75,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37725,
    "c": 0.1269,
    "h": 276.8
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#333683
secondary
#ADAB65
accent
#CF54D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #333683

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

Preview Lab → · Contrast checker → · Palette generator →

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