#333695#333695

#333695 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.152 H 275.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#333695
RGBrgb(51, 54, 149)
HSLhsl(238, 49%, 39%)
HSVhsv(238, 66%, 58%)
CMYKcmyk(65.8%, 63.8%, 0%, 41.6%)
CIE-LABlab(28.14, 29.82, -52.66)
CIE-LCHlch(28.14, 60.52, 299.52°)
OKLaboklab(39.27% 0.0145 -0.1518)
OKLCHoklch(39.27% 0.152 275.5)
XYZxyz(8.1074, 5.5114, 29.0645)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333695 #959233
analogous
#336795 #333695 #613395
triadic
#333695 #953336 #369533
tetradic
#333695 #953367 #959233 #339561
square
#333695 #953367 #959233 #339561
split-complementary
#333695 #956133 #679533
monochromatic
#14153A #232567 #333695 #4649C0 #7376CF

Accessibility & contrast

On white

9.99
#333695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#333695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333695
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333695#FFFFFF#000000##FFFFFF
##3336951.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #333695;
/* rgb */ color: rgb(51, 54, 149);
/* oklch */ color: oklch(39.3% 0.152 275.5);
Tailwind
colors: {
  custom: {
    50: '#776db5',
    500: '#333695',
    950: '#000000',
  },
}
SCSS
$custom: #333695;
$custom-light: #776db5;
$custom-dark: #000000;
JSON
{
  "hex": "#333695",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 149
  },
  "hsl": {
    "h": 238.163,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39268,
    "c": 0.15245,
    "h": 275.5
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#333695
secondary
#B7B56C
accent
#D44FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #333695

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

Preview Lab → · Contrast checker → · Palette generator →

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