#333DA9#333DA9

#333DA9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.171 H 272.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#333DA9
RGBrgb(51, 61, 169)
HSLhsl(235, 54%, 43%)
HSVhsv(235, 70%, 66%)
CMYKcmyk(69.8%, 63.9%, 0%, 33.7%)
CIE-LABlab(31.59, 32.42, -59.16)
CIE-LCHlch(31.59, 67.46, 298.73°)
OKLaboklab(42.33% 0.0077 -0.1708)
OKLCHoklch(42.33% 0.171 272.6)
XYZxyz(10.1930, 6.9049, 38.3240)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DA9 #A99F33
analogous
#3378A9 #333DA9 #6433A9
triadic
#333DA9 #A9333D #3DA933
tetradic
#333DA9 #A93378 #A99F33 #33A964
square
#333DA9 #A93378 #A99F33 #33A964
split-complementary
#333DA9 #A96433 #78A933
monochromatic
#171B4B #252C7A #333DA9 #4F5ACA #7E86D8

Accessibility & contrast

On white

8.82
#333DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#333DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DA9
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DA9#FFFFFF#000000##FFFFFF
##333DA91.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #333da9;
/* rgb */ color: rgb(51, 61, 169);
/* oklch */ color: oklch(42.3% 0.171 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b72c3',
    500: '#333da9',
    950: '#000000',
  },
}
SCSS
$custom: #333da9;
$custom-light: #7b72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#333da9",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 169
  },
  "hsl": {
    "h": 234.915,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.17094,
    "h": 272.6
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#333DA9
secondary
#C1BB77
accent
#D14BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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