#333ABA#333ABA

#333ABA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.197 H 272.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#333ABA
RGBrgb(51, 58, 186)
HSLhsl(237, 57%, 46%)
HSVhsv(237, 73%, 73%)
CMYKcmyk(72.6%, 68.8%, 0%, 27.1%)
CIE-LABlab(32.42, 40.28, -67.91)
CIE-LCHlch(32.42, 78.96, 300.67°)
OKLaboklab(43.41% 0.0083 -0.1964)
OKLCHoklch(43.41% 0.197 272.4)
XYZxyz(11.7382, 7.2739, 47.2302)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333ABA #BAB333
analogous
#337EBA #333ABA #7033BA
triadic
#333ABA #BA333A #3ABA33
tetradic
#333ABA #BA337E #BAB333 #33BA70
square
#333ABA #BA337E #BAB333 #33BA70
split-complementary
#333ABA #BA7033 #7EBA33
monochromatic
#191C5A #262B8A #333ABA #595FD1 #898DDF

Accessibility & contrast

On white

8.55
#333ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#333ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333ABA
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333ABA#FFFFFF#000000##FFFFFF
##333ABA1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #333aba;
/* rgb */ color: rgb(51, 58, 186);
/* oklch */ color: oklch(43.4% 0.197 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f71d0',
    500: '#333aba',
    950: '#000000',
  },
}
SCSS
$custom: #333aba;
$custom-light: #7f71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#333aba",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 236.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43405,
    "c": 0.19656,
    "h": 272.4
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#333ABA
secondary
#C9C580
accent
#D848E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #333ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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