#333087#333087

#333087 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.141 H 278.5°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#333087
RGBrgb(51, 48, 135)
HSLhsl(242, 48%, 36%)
HSVhsv(242, 64%, 53%)
CMYKcmyk(62.2%, 64.4%, 0%, 47.1%)
CIE-LABlab(25.46, 28.79, -48.38)
CIE-LCHlch(25.46, 56.30, 300.76°)
OKLaboklab(36.93% 0.0208 -0.1392)
OKLCHoklch(36.93% 0.141 278.5)
XYZxyz(6.7940, 4.5665, 23.4404)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333087 #848730
analogous
#305887 #333087 #5E3087
triadic
#333087 #873330 #308733
tetradic
#333087 #873058 #848730 #30875E
square
#333087 #873058 #848730 #30875E
split-complementary
#333087 #875E30 #588730
monochromatic
#11102D #22205A #333087 #4440B4 #6B68C9

Accessibility & contrast

On white

10.98
#333087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#333087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333087
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333087#FFFFFF#000000##FFFFFF
##3330871.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #333087;
/* rgb */ color: rgb(51, 48, 135);
/* oklch */ color: oklch(36.9% 0.141 278.5);
Tailwind
colors: {
  custom: {
    50: '#7468ab',
    500: '#333087',
    950: '#000000',
  },
}
SCSS
$custom: #333087;
$custom-light: #7468ab;
$custom-dark: #000000;
JSON
{
  "hex": "#333087",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 242.069,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3693,
    "c": 0.14077,
    "h": 278.5
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#333087
secondary
#AEB162
accent
#D751D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333087

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

Preview Lab → · Contrast checker → · Palette generator →

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