#333ABF#333ABF

#333ABF is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 43.9% C 0.203 H 272.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#333ABF
RGBrgb(51, 58, 191)
HSLhsl(237, 58%, 47%)
HSVhsv(237, 73%, 75%)
CMYKcmyk(73.3%, 69.6%, 0%, 25.1%)
CIE-LABlab(32.90, 42.00, -70.07)
CIE-LCHlch(32.90, 81.70, 300.93°)
OKLaboklab(43.89% 0.0077 -0.2027)
OKLCHoklch(43.89% 0.203 272.2)
XYZxyz(12.2791, 7.4902, 50.0787)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333ABF #BFB833
analogous
#3380BF #333ABF #7233BF
triadic
#333ABF #BF333A #3ABF33
tetradic
#333ABF #BF3380 #BFB833 #33BF72
square
#333ABF #BF3380 #BFB833 #33BF72
split-complementary
#333ABF #BF7233 #80BF33
monochromatic
#191D5E #262B8F #333ABF #5C62D3 #8C90E0

Accessibility & contrast

On white

8.41
#333ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#333ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333ABF
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333ABF#FFFFFF#000000##FFFFFF
##333ABF1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005F78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333abf;
/* rgb */ color: rgb(51, 58, 191);
/* oklch */ color: oklch(43.9% 0.203 272.2);
Tailwind
colors: {
  custom: {
    50: '#8071d4',
    500: '#333abf',
    950: '#000000',
  },
}
SCSS
$custom: #333abf;
$custom-light: #8071d4;
$custom-dark: #000000;
JSON
{
  "hex": "#333abf",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 237,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43892,
    "c": 0.20285,
    "h": 272.2
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#333ABF
secondary
#CBC783
accent
#D947E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #333ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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