#333B79#333B79

#333B79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.0% C 0.105 H 274.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#333B79
RGBrgb(51, 59, 121)
HSLhsl(233, 41%, 34%)
HSVhsv(233, 58%, 47%)
CMYKcmyk(57.9%, 51.2%, 0%, 52.5%)
CIE-LABlab(27.33, 16.43, -36.57)
CIE-LCHlch(27.33, 40.09, 294.19°)
OKLaboklab(37.98% 0.0087 -0.1044)
OKLCHoklch(37.98% 0.105 274.8)
XYZxyz(6.3793, 5.2118, 18.7553)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333B79 #797133
analogous
#335E79 #333B79 #4E3379
triadic
#333B79 #79333B #3B7933
tetradic
#333B79 #79335E #797133 #33794E
square
#333B79 #79335E #797133 #33794E
split-complementary
#333B79 #794E33 #5E7933
monochromatic
#0F1123 #21264E #333B79 #4550A4 #6771BF

Accessibility & contrast

On white

10.28
#333B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#333B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333B79
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333B79#FFFFFF#000000##FFFFFF
##333B791.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447B
Deuteranopia (green-blind)
#123E78
Tritanopia (blue-blind)
#0D4954
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #333b79;
/* rgb */ color: rgb(51, 59, 121);
/* oklch */ color: oklch(38.0% 0.105 274.8);
Tailwind
colors: {
  custom: {
    50: '#7170a0',
    500: '#333b79',
    950: '#000000',
  },
}
SCSS
$custom: #333b79;
$custom-light: #7170a0;
$custom-dark: #000000;
JSON
{
  "hex": "#333b79",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 233.143,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37982,
    "c": 0.10476,
    "h": 274.8
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#333B79
secondary
#A79F61
accent
#C357D1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #333B79

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

Preview Lab → · Contrast checker → · Palette generator →

#333B79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva