#333D79#333D79

#333D79 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.4% C 0.102 H 273.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#333D79
RGBrgb(51, 61, 121)
HSLhsl(231, 41%, 34%)
HSVhsv(231, 58%, 47%)
CMYKcmyk(57.9%, 49.6%, 0%, 52.5%)
CIE-LABlab(27.90, 15.07, -35.65)
CIE-LCHlch(27.90, 38.71, 292.91°)
OKLaboklab(38.42% 0.0063 -0.1017)
OKLCHoklch(38.42% 0.102 273.5)
XYZxyz(6.4841, 5.4213, 18.7902)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333D79 #796F33
analogous
#336079 #333D79 #4C3379
triadic
#333D79 #79333D #3D7933
tetradic
#333D79 #793360 #796F33 #33794C
square
#333D79 #793360 #796F33 #33794C
split-complementary
#333D79 #794C33 #607933
monochromatic
#0F1223 #21274E #333D79 #4553A4 #6774BF

Accessibility & contrast

On white

10.07
#333D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#333D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333D79
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333D79#FFFFFF#000000##FFFFFF
##333D791.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#173F78
Tritanopia (blue-blind)
#0C4A55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #333d79;
/* rgb */ color: rgb(51, 61, 121);
/* oklch */ color: oklch(38.4% 0.102 273.5);
Tailwind
colors: {
  custom: {
    50: '#7172a0',
    500: '#333d79',
    950: '#000000',
  },
}
SCSS
$custom: #333d79;
$custom-light: #7172a0;
$custom-dark: #000000;
JSON
{
  "hex": "#333d79",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 231.429,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.10187,
    "h": 273.5
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#333D79
secondary
#A79D61
accent
#BF57D1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #333D79

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

Preview Lab → · Contrast checker → · Palette generator →

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