#333ABB#333ABB

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

Color values

HEX#333ABB
RGBrgb(51, 58, 187)
HSLhsl(237, 57%, 47%)
HSVhsv(237, 73%, 73%)
CMYKcmyk(72.7%, 69%, 0%, 26.7%)
CIE-LABlab(32.52, 40.62, -68.34)
CIE-LCHlch(32.52, 79.51, 300.73°)
OKLaboklab(43.5% 0.0081 -0.1977)
OKLCHoklch(43.5% 0.198 272.4)
XYZxyz(11.8449, 7.3166, 47.7921)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333ABB #BBB433
analogous
#337EBB #333ABB #7033BB
triadic
#333ABB #BB333A #3ABB33
tetradic
#333ABB #BB337E #BBB433 #33BB70
square
#333ABB #BB337E #BBB433 #33BB70
split-complementary
#333ABB #BB7033 #7EBB33
monochromatic
#191C5B #262B8B #333ABB #5960D2 #898EDF

Accessibility & contrast

On white

8.52
#333ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#333ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333ABB
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333ABB#FFFFFF#000000##FFFFFF
##333ABB1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #333abb;
/* rgb */ color: rgb(51, 58, 187);
/* oklch */ color: oklch(43.5% 0.198 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f71d1',
    500: '#333abb',
    950: '#000000',
  },
}
SCSS
$custom: #333abb;
$custom-light: #7f71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#333abb",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 236.912,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43502,
    "c": 0.19783,
    "h": 272.4
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#333ABB
secondary
#C9C581
accent
#D947E0
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #333ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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