#333A4E#333A4E

#333A4E is a dark, muted blue. Relative luminance 0.043; OKLCH L 35.1% C 0.036 H 269.5°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#333A4E
RGBrgb(51, 58, 78)
HSLhsl(224, 21%, 25%)
HSVhsv(224, 35%, 31%)
CMYKcmyk(34.6%, 25.6%, 0%, 69.4%)
CIE-LABlab(24.58, 2.62, -13.13)
CIE-LCHlch(24.58, 13.39, 281.26°)
OKLaboklab(35.07% -0.0003 -0.0363)
OKLCHoklch(35.07% 0.036 269.5)
XYZxyz(4.2531, 4.2798, 7.8083)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A4E #4E4733
analogous
#33474E #333A4E #39334E
triadic
#333A4E #4E333A #3A4E33
tetradic
#333A4E #4E3347 #4E4733 #334E39
square
#333A4E #4E3347 #4E4733 #334E39
split-complementary
#333A4E #4E3933 #474E33
monochromatic
#0C0E13 #1B1E29 #333A4E #4B5673 #637198

Accessibility & contrast

On white

11.31
#333A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#333A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333A4E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A4E#FFFFFF#000000##FFFFFF
##333A4E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#31394E
Tritanopia (blue-blind)
#2C3E41
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #333a4e;
/* rgb */ color: rgb(51, 58, 78);
/* oklch */ color: oklch(35.1% 0.036 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b707f',
    500: '#333a4e',
    950: '#000000',
  },
}
SCSS
$custom: #333a4e;
$custom-light: #6b707f;
$custom-dark: #000000;
JSON
{
  "hex": "#333a4e",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 78
  },
  "hsl": {
    "h": 224.444,
    "s": 20.93,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35068,
    "c": 0.03628,
    "h": 269.5
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#333A4E
secondary
#7F765E
accent
#A86ABD
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#07070A
muted
#7A7A7C

Preview Lab

Preview with #333A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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