#333365#333365

#333365 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.086 H 281.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#333365
RGBrgb(51, 51, 101)
HSLhsl(240, 33%, 30%)
HSVhsv(240, 50%, 40%)
CMYKcmyk(49.5%, 49.5%, 0%, 60.4%)
CIE-LABlab(23.71, 14.90, -29.58)
CIE-LCHlch(23.71, 33.12, 296.74°)
OKLaboklab(34.81% 0.0163 -0.0839)
OKLCHoklch(34.81% 0.086 281)
XYZxyz(4.8973, 4.0108, 12.8255)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333365 #656533
analogous
#334C65 #333365 #4C3365
triadic
#333365 #653333 #336533
tetradic
#333365 #65334C #656533 #33654C
square
#333365 #65334C #656533 #33654C
split-complementary
#333365 #654C33 #4C6533
monochromatic
#0A0A14 #1E1E3C #333365 #48488E #6262B0

Accessibility & contrast

On white

11.65
#333365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#333365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333365
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333365#FFFFFF#000000##FFFFFF
##3333651.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3A67
Deuteranopia (green-blind)
#1B3764
Tritanopia (blue-blind)
#223E47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #333365;
/* rgb */ color: rgb(51, 51, 101);
/* oklch */ color: oklch(34.8% 0.086 281.0);
Tailwind
colors: {
  custom: {
    50: '#6e6a91',
    500: '#333365',
    950: '#000000',
  },
}
SCSS
$custom: #333365;
$custom-light: #6e6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#333365",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 101
  },
  "hsl": {
    "h": 240,
    "s": 32.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34813,
    "c": 0.0855,
    "h": 281
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#333365
secondary
#96965E
accent
#C95FC9
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07060D
muted
#7A7A7D

Preview Lab

Preview with #333365

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

Preview Lab → · Contrast checker → · Palette generator →

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