#333A88#333A88

#333A88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.129 H 274.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#333A88
RGBrgb(51, 58, 136)
HSLhsl(235, 45%, 37%)
HSVhsv(235, 63%, 53%)
CMYKcmyk(62.5%, 57.4%, 0%, 46.7%)
CIE-LABlab(28.13, 22.51, -44.66)
CIE-LCHlch(28.13, 50.02, 296.75°)
OKLaboklab(38.93% 0.0109 -0.1282)
OKLCHoklch(38.93% 0.129 274.9)
XYZxyz(7.3208, 5.5069, 23.9649)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A88 #888133
analogous
#336588 #333A88 #573388
triadic
#333A88 #88333A #3A8833
tetradic
#333A88 #883365 #888133 #338857
square
#333A88 #883365 #888133 #338857
split-complementary
#333A88 #885733 #658833
monochromatic
#12142F #22275B #333A88 #444DB5 #6D75C8

Accessibility & contrast

On white

9.99
#333A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#333A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##333A88#FFFFFF#000000##FFFFFF
##333A881.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)
#00468B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #333a88;
/* rgb */ color: rgb(51, 58, 136);
/* oklch */ color: oklch(38.9% 0.129 274.9);
Tailwind
colors: {
  custom: {
    50: '#7470ab',
    500: '#333a88',
    950: '#000000',
  },
}
SCSS
$custom: #333a88;
$custom-light: #7470ab;
$custom-dark: #000000;
JSON
{
  "hex": "#333a88",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 235.059,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3893,
    "c": 0.12867,
    "h": 274.9
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#333A88
secondary
#B0AA67
accent
#CA53D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #333A88

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

Preview Lab → · Contrast checker → · Palette generator →

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