#333086#333086

#333086 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.139 H 278.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#333086
RGBrgb(51, 48, 134)
HSLhsl(242, 47%, 36%)
HSVhsv(242, 64%, 53%)
CMYKcmyk(61.9%, 64.2%, 0%, 47.5%)
CIE-LABlab(25.38, 28.44, -47.89)
CIE-LCHlch(25.38, 55.70, 300.70°)
OKLaboklab(36.84% 0.0209 -0.1378)
OKLCHoklch(36.84% 0.139 278.6)
XYZxyz(6.7239, 4.5384, 23.0713)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333086 #838630
analogous
#305886 #333086 #5E3086
triadic
#333086 #863330 #308633
tetradic
#333086 #863058 #838630 #30865E
square
#333086 #863058 #838630 #30865E
split-complementary
#333086 #865E30 #588630
monochromatic
#11102C #222059 #333086 #4440B3 #6B68C9

Accessibility & contrast

On white

11.01
#333086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333086
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333086#FFFFFF#000000##FFFFFF
##3330861.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #333086;
/* rgb */ color: rgb(51, 48, 134);
/* oklch */ color: oklch(36.8% 0.139 278.6);
Tailwind
colors: {
  custom: {
    50: '#7468aa',
    500: '#333086',
    950: '#000000',
  },
}
SCSS
$custom: #333086;
$custom-light: #7468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#333086",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 134
  },
  "hsl": {
    "h": 242.093,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36841,
    "c": 0.13936,
    "h": 278.6
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#333086
secondary
#ADB062
accent
#D751D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333086

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

Preview Lab → · Contrast checker → · Palette generator →

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