#333BA9#333BA9

#333BA9 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.173 H 273.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#333BA9
RGBrgb(51, 59, 169)
HSLhsl(236, 54%, 43%)
HSVhsv(236, 70%, 66%)
CMYKcmyk(69.8%, 65.1%, 0%, 33.7%)
CIE-LABlab(31.10, 33.70, -59.96)
CIE-LCHlch(31.10, 68.78, 299.34°)
OKLaboklab(41.97% 0.0092 -0.1731)
OKLCHoklch(41.97% 0.173 273)
XYZxyz(10.0882, 6.6953, 38.2891)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333BA9 #A9A133
analogous
#3376A9 #333BA9 #6633A9
triadic
#333BA9 #A9333B #3BA933
tetradic
#333BA9 #A93376 #A9A133 #33A966
square
#333BA9 #A93376 #A9A133 #33A966
split-complementary
#333BA9 #A96633 #76A933
monochromatic
#171A4B #252B7A #333BA9 #4F58CA #7E84D8

Accessibility & contrast

On white

8.98
#333BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#333BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333BA9
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333BA9#FFFFFF#000000##FFFFFF
##333BA91.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #333ba9;
/* rgb */ color: rgb(51, 59, 169);
/* oklch */ color: oklch(42.0% 0.173 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b71c4',
    500: '#333ba9',
    950: '#000000',
  },
}
SCSS
$custom: #333ba9;
$custom-light: #7b71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#333ba9",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 235.932,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41972,
    "c": 0.17336,
    "h": 273
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#333BA9
secondary
#C1BC77
accent
#D34BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #333BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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