#333368#333368

#333368 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.090 H 280.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#333368
RGBrgb(51, 51, 104)
HSLhsl(240, 34%, 30%)
HSVhsv(240, 51%, 41%)
CMYKcmyk(51%, 51%, 0%, 59.2%)
CIE-LABlab(23.90, 15.93, -31.21)
CIE-LCHlch(23.90, 35.04, 297.05°)
OKLaboklab(35.03% 0.0167 -0.0887)
OKLCHoklch(35.03% 0.09 280.7)
XYZxyz(5.0470, 4.0707, 13.6138)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333368 #686833
analogous
#334D68 #333368 #4D3368
triadic
#333368 #683333 #336833
tetradic
#333368 #68334D #686833 #33684D
square
#333368 #68334D #686833 #33684D
split-complementary
#333368 #684D33 #4D6833
monochromatic
#0B0B16 #1F1F3F #333368 #474791 #6363B2

Accessibility & contrast

On white

11.58
#333368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#333368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333368
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333368#FFFFFF#000000##FFFFFF
##3333681.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3B6A
Deuteranopia (green-blind)
#183767
Tritanopia (blue-blind)
#203E48
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #333368;
/* rgb */ color: rgb(51, 51, 104);
/* oklch */ color: oklch(35.0% 0.090 280.7);
Tailwind
colors: {
  custom: {
    50: '#6f6a93',
    500: '#333368',
    950: '#000000',
  },
}
SCSS
$custom: #333368;
$custom-light: #6f6a93;
$custom-dark: #000000;
JSON
{
  "hex": "#333368",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 104
  },
  "hsl": {
    "h": 240,
    "s": 34.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35025,
    "c": 0.09027,
    "h": 280.7
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#333368
secondary
#99995E
accent
#CA5ECA
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #333368

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

Preview Lab → · Contrast checker → · Palette generator →

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