#333377#333377

#333377 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.2% C 0.113 H 279.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#333377
RGBrgb(51, 51, 119)
HSLhsl(240, 40%, 33%)
HSVhsv(240, 57%, 47%)
CMYKcmyk(57.1%, 57.1%, 0%, 53.3%)
CIE-LABlab(24.96, 21.17, -39.12)
CIE-LCHlch(24.96, 44.48, 298.42°)
OKLaboklab(36.16% 0.0179 -0.112)
OKLCHoklch(36.16% 0.113 279.1)
XYZxyz(5.8778, 4.4030, 17.9893)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333377 #777733
analogous
#335577 #333377 #553377
triadic
#333377 #773333 #337733
tetradic
#333377 #773355 #777733 #337755
square
#333377 #773355 #777733 #337755
split-complementary
#333377 #775533 #557733
monochromatic
#0E0E21 #21214C #333377 #4545A2 #6767BE

Accessibility & contrast

On white

11.17
#333377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#333377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333377
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333377#FFFFFF#000000##FFFFFF
##3333771.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073E79
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#12434F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #333377;
/* rgb */ color: rgb(51, 51, 119);
/* oklch */ color: oklch(36.2% 0.113 279.1);
Tailwind
colors: {
  custom: {
    50: '#716a9f',
    500: '#333377',
    950: '#000000',
  },
}
SCSS
$custom: #333377;
$custom-light: #716a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#333377",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 240,
    "s": 40,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36157,
    "c": 0.1134,
    "h": 279.1
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

primary
#333377
secondary
#A6A660
accent
#D058D0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #333377

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

Preview Lab → · Contrast checker → · Palette generator →

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