#335379#335379

#335379 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.5% C 0.074 H 253.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#335379
RGBrgb(51, 83, 121)
HSLhsl(213, 41%, 34%)
HSVhsv(213, 58%, 47%)
CMYKcmyk(57.9%, 31.4%, 0%, 52.5%)
CIE-LABlab(34.54, 0.44, -25.14)
CIE-LCHlch(34.54, 25.15, 271.01°)
OKLaboklab(43.54% -0.0208 -0.0707)
OKLCHoklch(43.54% 0.074 253.6)
XYZxyz(7.9085, 8.2701, 19.2650)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335379 #795933
analogous
#337679 #335379 #363379
triadic
#335379 #793353 #537933
tetradic
#335379 #793376 #795933 #337936
square
#335379 #793376 #795933 #337936
split-complementary
#335379 #793633 #767933
monochromatic
#0F1823 #21354E #335379 #4571A4 #678FBF

Accessibility & contrast

On white

7.91
#335379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#335379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335379
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335379#FFFFFF#000000##FFFFFF
##3353791.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557B
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#025C60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #335379;
/* rgb */ color: rgb(51, 83, 121);
/* oklch */ color: oklch(43.5% 0.074 253.6);
Tailwind
colors: {
  custom: {
    50: '#7083a0',
    500: '#335379',
    950: '#000000',
  },
}
SCSS
$custom: #335379;
$custom-light: #7083a0;
$custom-dark: #000000;
JSON
{
  "hex": "#335379",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 121
  },
  "hsl": {
    "h": 212.571,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43542,
    "c": 0.07376,
    "h": 253.6
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

primary
#335379
secondary
#A78761
accent
#9957D1
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #335379

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

Preview Lab → · Contrast checker → · Palette generator →

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