#333B7E#333B7E

#333B7E is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.4% C 0.112 H 274.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#333B7E
RGBrgb(51, 59, 126)
HSLhsl(234, 42%, 35%)
HSVhsv(234, 60%, 49%)
CMYKcmyk(59.5%, 53.2%, 0%, 50.6%)
CIE-LABlab(27.68, 18.23, -39.16)
CIE-LCHlch(27.68, 43.20, 294.96°)
OKLaboklab(38.35% 0.0092 -0.112)
OKLCHoklch(38.35% 0.112 274.7)
XYZxyz(6.6939, 5.3376, 20.4121)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333B7E #7E7633
analogous
#33617E #333B7E #51337E
triadic
#333B7E #7E333B #3B7E33
tetradic
#333B7E #7E3361 #7E7633 #337E51
square
#333B7E #7E3361 #7E7633 #337E51
split-complementary
#333B7E #7E5133 #617E33
monochromatic
#101227 #212752 #333B7E #454FAA #6973C2

Accessibility & contrast

On white

10.16
#333B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#333B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333B7E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333B7E#FFFFFF#000000##FFFFFF
##333B7E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174580
Deuteranopia (green-blind)
#073E7D
Tritanopia (blue-blind)
#034A56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #333b7e;
/* rgb */ color: rgb(51, 59, 126);
/* oklch */ color: oklch(38.4% 0.112 274.7);
Tailwind
colors: {
  custom: {
    50: '#7270a4',
    500: '#333b7e',
    950: '#000000',
  },
}
SCSS
$custom: #333b7e;
$custom-light: #7270a4;
$custom-dark: #000000;
JSON
{
  "hex": "#333b7e",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 233.6,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38354,
    "c": 0.11239,
    "h": 274.7
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#333B7E
secondary
#AAA363
accent
#C556D2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #333B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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