#333D7E#333D7E

#333D7E is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.8% C 0.110 H 273.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#333D7E
RGBrgb(51, 61, 126)
HSLhsl(232, 42%, 35%)
HSVhsv(232, 60%, 49%)
CMYKcmyk(59.5%, 51.6%, 0%, 50.6%)
CIE-LABlab(28.24, 16.87, -38.25)
CIE-LCHlch(28.24, 41.81, 293.79°)
OKLaboklab(38.78% 0.0069 -0.1093)
OKLCHoklch(38.78% 0.11 273.6)
XYZxyz(6.7987, 5.5471, 20.4471)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333D7E #7E7433
analogous
#33637E #333D7E #4F337E
triadic
#333D7E #7E333D #3D7E33
tetradic
#333D7E #7E3363 #7E7433 #337E4F
square
#333D7E #7E3363 #7E7433 #337E4F
split-complementary
#333D7E #7E4F33 #637E33
monochromatic
#101327 #212852 #333D7E #4552AA #6975C2

Accessibility & contrast

On white

9.95
#333D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#333D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333D7E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333D7E#FFFFFF#000000##FFFFFF
##333D7E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4680
Deuteranopia (green-blind)
#0F407D
Tritanopia (blue-blind)
#024C57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #333d7e;
/* rgb */ color: rgb(51, 61, 126);
/* oklch */ color: oklch(38.8% 0.110 273.6);
Tailwind
colors: {
  custom: {
    50: '#7272a4',
    500: '#333d7e',
    950: '#000000',
  },
}
SCSS
$custom: #333d7e;
$custom-light: #7272a4;
$custom-dark: #000000;
JSON
{
  "hex": "#333d7e",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 232,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3878,
    "c": 0.10954,
    "h": 273.6
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#333D7E
secondary
#AAA163
accent
#C256D2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #333D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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