#333690#333690

#333690 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.145 H 275.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#333690
RGBrgb(51, 54, 144)
HSLhsl(238, 48%, 38%)
HSVhsv(238, 65%, 56%)
CMYKcmyk(64.6%, 62.5%, 0%, 43.5%)
CIE-LABlab(27.72, 28.04, -50.28)
CIE-LCHlch(27.72, 57.57, 299.15°)
OKLaboklab(38.83% 0.0147 -0.1447)
OKLCHoklch(38.83% 0.146 275.8)
XYZxyz(7.7168, 5.3551, 27.0071)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333690 #908D33
analogous
#336490 #333690 #5F3390
triadic
#333690 #903336 #369033
tetradic
#333690 #903364 #908D33 #33905F
square
#333690 #903364 #908D33 #33905F
split-complementary
#333690 #905F33 #649033
monochromatic
#131436 #232563 #333690 #4447BD #7174CD

Accessibility & contrast

On white

10.14
#333690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#333690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333690
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333690#FFFFFF#000000##FFFFFF
##3336901.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #333690;
/* rgb */ color: rgb(51, 54, 144);
/* oklch */ color: oklch(38.8% 0.145 275.8);
Tailwind
colors: {
  custom: {
    50: '#766db1',
    500: '#333690',
    950: '#000000',
  },
}
SCSS
$custom: #333690;
$custom-light: #766db1;
$custom-dark: #000000;
JSON
{
  "hex": "#333690",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 144
  },
  "hsl": {
    "h": 238.065,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38827,
    "c": 0.1455,
    "h": 275.8
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#333690
secondary
#B5B26A
accent
#D351D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #333690

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

Preview Lab → · Contrast checker → · Palette generator →

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