#335279#335279

#335279 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.3% C 0.075 H 254.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#335279
RGBrgb(51, 82, 121)
HSLhsl(213, 41%, 34%)
HSVhsv(213, 58%, 47%)
CMYKcmyk(57.9%, 32.2%, 0%, 52.5%)
CIE-LABlab(34.23, 1.08, -25.63)
CIE-LCHlch(34.23, 25.65, 272.42°)
OKLaboklab(43.3% -0.0196 -0.0722)
OKLCHoklch(43.3% 0.075 254.8)
XYZxyz(7.8325, 8.1182, 19.2397)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335279 #795A33
analogous
#337579 #335279 #373379
triadic
#335279 #793352 #527933
tetradic
#335279 #793375 #795A33 #337937
square
#335279 #793375 #795A33 #337937
split-complementary
#335279 #793733 #757933
monochromatic
#0F1823 #21354E #335279 #456FA4 #678EBF

Accessibility & contrast

On white

8.00
#335279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#335279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335279
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335279#FFFFFF#000000##FFFFFF
##3352791.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547B
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#035B60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #335279;
/* rgb */ color: rgb(51, 82, 121);
/* oklch */ color: oklch(43.3% 0.075 254.8);
Tailwind
colors: {
  custom: {
    50: '#7082a0',
    500: '#335279',
    950: '#000000',
  },
}
SCSS
$custom: #335279;
$custom-light: #7082a0;
$custom-dark: #000000;
JSON
{
  "hex": "#335279",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 121
  },
  "hsl": {
    "h": 213.429,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43298,
    "c": 0.07478,
    "h": 254.8
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#335279
secondary
#A78861
accent
#9B57D1
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #335279

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

Preview Lab → · Contrast checker → · Palette generator →

#335279 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva