#333A90#333A90

#333A90 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.140 H 274.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#333A90
RGBrgb(51, 58, 144)
HSLhsl(235, 48%, 38%)
HSVhsv(235, 65%, 56%)
CMYKcmyk(64.6%, 59.7%, 0%, 43.5%)
CIE-LABlab(28.75, 25.40, -48.60)
CIE-LCHlch(28.75, 54.84, 297.59°)
OKLaboklab(39.59% 0.011 -0.1398)
OKLCHoklch(39.59% 0.14 274.5)
XYZxyz(7.9107, 5.7429, 27.0718)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A90 #908933
analogous
#336890 #333A90 #5A3390
triadic
#333A90 #90333A #3A9033
tetradic
#333A90 #903368 #908933 #33905A
square
#333A90 #903368 #908933 #33905A
split-complementary
#333A90 #905A33 #689033
monochromatic
#131636 #232863 #333A90 #444DBD #7178CD

Accessibility & contrast

On white

9.77
#333A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#333A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333A90
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A90#FFFFFF#000000##FFFFFF
##333A901.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #333a90;
/* rgb */ color: rgb(51, 58, 144);
/* oklch */ color: oklch(39.6% 0.140 274.5);
Tailwind
colors: {
  custom: {
    50: '#7570b1',
    500: '#333a90',
    950: '#000000',
  },
}
SCSS
$custom: #333a90;
$custom-light: #7570b1;
$custom-dark: #000000;
JSON
{
  "hex": "#333a90",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 235.484,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39589,
    "c": 0.14022,
    "h": 274.5
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#333A90
secondary
#B5AF6A
accent
#CD51D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #333A90

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

Preview Lab → · Contrast checker → · Palette generator →

#333A90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva