#333487#333487

#333487 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.135 H 277.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#333487
RGBrgb(51, 52, 135)
HSLhsl(239, 45%, 36%)
HSVhsv(239, 62%, 53%)
CMYKcmyk(62.2%, 61.5%, 0%, 47.1%)
CIE-LABlab(26.47, 26.16, -46.74)
CIE-LCHlch(26.47, 53.56, 299.24°)
OKLaboklab(37.67% 0.0169 -0.1344)
OKLCHoklch(37.67% 0.135 277.2)
XYZxyz(6.9650, 4.9085, 23.4974)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333487 #878633
analogous
#335E87 #333487 #5C3387
triadic
#333487 #873334 #348733
tetradic
#333487 #87335E #878633 #33875C
square
#333487 #87335E #878633 #33875C
split-complementary
#333487 #875C33 #5E8733
monochromatic
#11122E #22235B #333487 #4445B3 #6D6EC8

Accessibility & contrast

On white

10.60
#333487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#333487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333487
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333487#FFFFFF#000000##FFFFFF
##3334871.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333487;
/* rgb */ color: rgb(51, 52, 135);
/* oklch */ color: oklch(37.7% 0.135 277.2);
Tailwind
colors: {
  custom: {
    50: '#746bab',
    500: '#333487',
    950: '#000000',
  },
}
SCSS
$custom: #333487;
$custom-light: #746bab;
$custom-dark: #000000;
JSON
{
  "hex": "#333487",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 239.286,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37673,
    "c": 0.13542,
    "h": 277.2
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#333487
secondary
#B0AF66
accent
#D353D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333487

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

Preview Lab → · Contrast checker → · Palette generator →

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