#333359#333359

#333359 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.066 H 282.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#333359
RGBrgb(51, 51, 89)
HSLhsl(240, 27%, 27%)
HSVhsv(240, 43%, 35%)
CMYKcmyk(42.7%, 42.7%, 0%, 65.1%)
CIE-LABlab(22.97, 10.88, -22.89)
CIE-LCHlch(22.97, 25.35, 295.42°)
OKLaboklab(34.02% 0.0141 -0.0644)
OKLCHoklch(34.02% 0.066 282.3)
XYZxyz(4.3517, 3.7926, 9.9520)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333359 #595933
analogous
#334659 #333359 #463359
triadic
#333359 #593333 #335933
tetradic
#333359 #593346 #595933 #335946
square
#333359 #593346 #595933 #335946
split-complementary
#333359 #594633 #465933
monochromatic
#0B0B13 #1D1D32 #333359 #494980 #6262A5

Accessibility & contrast

On white

11.94
#333359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#333359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333359
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333359#FFFFFF#000000##FFFFFF
##3333591.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385A
Deuteranopia (green-blind)
#243658
Tritanopia (blue-blind)
#283A41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #333359;
/* rgb */ color: rgb(51, 51, 89);
/* oklch */ color: oklch(34.0% 0.066 282.3);
Tailwind
colors: {
  custom: {
    50: '#6d6a88',
    500: '#333359',
    950: '#000000',
  },
}
SCSS
$custom: #333359;
$custom-light: #6d6a88;
$custom-dark: #000000;
JSON
{
  "hex": "#333359",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 89
  },
  "hsl": {
    "h": 240,
    "s": 27.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34016,
    "c": 0.06591,
    "h": 282.3
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#333359
secondary
#8A8A5E
accent
#C364C3
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #333359

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

Preview Lab → · Contrast checker → · Palette generator →

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