#333679#333679

#333679 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.112 H 277.5°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#333679
RGBrgb(51, 54, 121)
HSLhsl(237, 41%, 34%)
HSVhsv(237, 58%, 47%)
CMYKcmyk(57.9%, 55.4%, 0%, 52.5%)
CIE-LABlab(25.93, 19.84, -38.83)
CIE-LCHlch(25.93, 43.60, 297.06°)
OKLaboklab(36.93% 0.0146 -0.1111)
OKLCHoklch(36.93% 0.112 277.5)
XYZxyz(6.1345, 4.7222, 18.6737)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333679 #797633
analogous
#335979 #333679 #533379
triadic
#333679 #793336 #367933
tetradic
#333679 #793359 #797633 #337953
square
#333679 #793359 #797633 #337953
split-complementary
#333679 #795333 #597933
monochromatic
#0F1023 #21234E #333679 #4549A4 #676BBF

Accessibility & contrast

On white

10.80
#333679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#333679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333679
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333679#FFFFFF#000000##FFFFFF
##3336791.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407B
Deuteranopia (green-blind)
#013B78
Tritanopia (blue-blind)
#0E4552
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #333679;
/* rgb */ color: rgb(51, 54, 121);
/* oklch */ color: oklch(36.9% 0.112 277.5);
Tailwind
colors: {
  custom: {
    50: '#716da0',
    500: '#333679',
    950: '#000000',
  },
}
SCSS
$custom: #333679;
$custom-light: #716da0;
$custom-dark: #000000;
JSON
{
  "hex": "#333679",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 121
  },
  "hsl": {
    "h": 237.429,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36927,
    "c": 0.11203,
    "h": 277.5
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#333679
secondary
#A7A461
accent
#CB57D1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #333679

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

Preview Lab → · Contrast checker → · Palette generator →

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