#333A72#333A72

#333A72 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.3% C 0.095 H 275.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#333A72
RGBrgb(51, 58, 114)
HSLhsl(233, 38%, 32%)
HSVhsv(233, 55%, 45%)
CMYKcmyk(55.3%, 49.1%, 0%, 55.3%)
CIE-LABlab(26.58, 14.62, -33.35)
CIE-LCHlch(26.58, 36.41, 293.67°)
OKLaboklab(37.26% 0.009 -0.0949)
OKLCHoklch(37.26% 0.095 275.4)
XYZxyz(5.9146, 4.9444, 16.5590)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A72 #726B33
analogous
#335A72 #333A72 #4B3372
triadic
#333A72 #72333A #3A7233
tetradic
#333A72 #72335A #726B33 #33724B
square
#333A72 #72335A #726B33 #33724B
split-complementary
#333A72 #724B33 #5A7233
monochromatic
#0D0F1D #202448 #333A72 #46509C #656FBA

Accessibility & contrast

On white

10.56
#333A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#333A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333A72
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A72#FFFFFF#000000##FFFFFF
##333A721.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#1A3C71
Tritanopia (blue-blind)
#164650
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333a72;
/* rgb */ color: rgb(51, 58, 114);
/* oklch */ color: oklch(37.3% 0.095 275.4);
Tailwind
colors: {
  custom: {
    50: '#70709b',
    500: '#333a72',
    950: '#000000',
  },
}
SCSS
$custom: #333a72;
$custom-light: #70709b;
$custom-dark: #000000;
JSON
{
  "hex": "#333a72",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 233.333,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3726,
    "c": 0.09535,
    "h": 275.4
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#333A72
secondary
#A29B5F
accent
#C15ACE
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #333A72

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

Preview Lab → · Contrast checker → · Palette generator →

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