#333F85#333F85

#333F85 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.117 H 272.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#333F85
RGBrgb(51, 63, 133)
HSLhsl(231, 45%, 36%)
HSVhsv(231, 62%, 52%)
CMYKcmyk(61.7%, 52.6%, 0%, 47.8%)
CIE-LABlab(29.29, 18.04, -40.93)
CIE-LCHlch(29.29, 44.73, 293.79°)
OKLaboklab(39.73% 0.0054 -0.1172)
OKLCHoklch(39.73% 0.117 272.6)
XYZxyz(7.3750, 5.9517, 22.9459)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333F85 #857933
analogous
#336885 #333F85 #503385
triadic
#333F85 #85333F #3F8533
tetradic
#333F85 #853368 #857933 #338550
square
#333F85 #853368 #857933 #338550
split-complementary
#333F85 #855033 #688533
monochromatic
#11152D #222A59 #333F85 #4454B1 #6C79C7

Accessibility & contrast

On white

9.59
#333F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#333F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333F85
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333F85#FFFFFF#000000##FFFFFF
##333F851.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184987
Deuteranopia (green-blind)
#054284
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #333f85;
/* rgb */ color: rgb(51, 63, 133);
/* oklch */ color: oklch(39.7% 0.117 272.6);
Tailwind
colors: {
  custom: {
    50: '#7373a9',
    500: '#333f85',
    950: '#000000',
  },
}
SCSS
$custom: #333f85;
$custom-light: #7373a9;
$custom-dark: #000000;
JSON
{
  "hex": "#333f85",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 231.22,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39729,
    "c": 0.11729,
    "h": 272.6
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#333F85
secondary
#AEA465
accent
#C154D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #333F85

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

Preview Lab → · Contrast checker → · Palette generator →

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