#333374#333374

#333374 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.9% C 0.109 H 279.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#333374
RGBrgb(51, 51, 116)
HSLhsl(240, 39%, 33%)
HSVhsv(240, 56%, 45%)
CMYKcmyk(56%, 56%, 0%, 54.5%)
CIE-LABlab(24.74, 20.11, -37.57)
CIE-LCHlch(24.74, 42.61, 298.16°)
OKLaboklab(35.92% 0.0178 -0.1074)
OKLCHoklch(35.92% 0.109 279.4)
XYZxyz(5.7005, 4.3321, 17.0554)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333374 #747433
analogous
#335374 #333374 #533374
triadic
#333374 #743333 #337433
tetradic
#333374 #743353 #747433 #337453
square
#333374 #743353 #747433 #337453
split-complementary
#333374 #745333 #537433
monochromatic
#0E0E1F #202049 #333374 #46469F #6666BC

Accessibility & contrast

On white

11.25
#333374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#333374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333374
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333374#FFFFFF#000000##FFFFFF
##3333741.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D76
Deuteranopia (green-blind)
#033873
Tritanopia (blue-blind)
#16424E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #333374;
/* rgb */ color: rgb(51, 51, 116);
/* oklch */ color: oklch(35.9% 0.109 279.4);
Tailwind
colors: {
  custom: {
    50: '#716a9c',
    500: '#333374',
    950: '#000000',
  },
}
SCSS
$custom: #333374;
$custom-light: #716a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#333374",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 240,
    "s": 38.922,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35922,
    "c": 0.10887,
    "h": 279.4
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#333374
secondary
#A4A45F
accent
#CF59CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #333374

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

Preview Lab → · Contrast checker → · Palette generator →

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