#333D80#333D80

#333D80 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.9% C 0.113 H 273.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#333D80
RGBrgb(51, 61, 128)
HSLhsl(232, 43%, 35%)
HSVhsv(232, 60%, 50%)
CMYKcmyk(60.2%, 52.3%, 0%, 49.8%)
CIE-LABlab(28.38, 17.59, -39.28)
CIE-LCHlch(28.38, 43.04, 294.12°)
OKLaboklab(38.93% 0.0071 -0.1123)
OKLCHoklch(38.93% 0.113 273.6)
XYZxyz(6.9290, 5.5993, 21.1335)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333D80 #807633
analogous
#336380 #333D80 #503380
triadic
#333D80 #80333D #3D8033
tetradic
#333D80 #803363 #807633 #338050
square
#333D80 #803363 #807633 #338050
split-complementary
#333D80 #805033 #638033
monochromatic
#101328 #222854 #333D80 #4452AC #6A75C4

Accessibility & contrast

On white

9.91
#333D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#333D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333D80
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333D80#FFFFFF#000000##FFFFFF
##333D801.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194682
Deuteranopia (green-blind)
#0A407F
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #333d80;
/* rgb */ color: rgb(51, 61, 128);
/* oklch */ color: oklch(38.9% 0.113 273.6);
Tailwind
colors: {
  custom: {
    50: '#7272a5',
    500: '#333d80',
    950: '#000000',
  },
}
SCSS
$custom: #333d80;
$custom-light: #7272a5;
$custom-dark: #000000;
JSON
{
  "hex": "#333d80",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 128
  },
  "hsl": {
    "h": 232.208,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38929,
    "c": 0.11257,
    "h": 273.6
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#333D80
secondary
#ABA263
accent
#C255D3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #333D80

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

Preview Lab → · Contrast checker → · Palette generator →

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