#335274#335274

#335274 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.0% C 0.068 H 251.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#335274
RGBrgb(51, 82, 116)
HSLhsl(211, 39%, 33%)
HSVhsv(211, 56%, 45%)
CMYKcmyk(56%, 29.3%, 0%, 54.5%)
CIE-LABlab(33.98, -0.65, -22.91)
CIE-LCHlch(33.98, 22.92, 268.37°)
OKLaboklab(43.02% -0.0212 -0.0643)
OKLCHoklch(43.02% 0.068 251.7)
XYZxyz(7.5338, 7.9987, 17.6665)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335274 #745533
analogous
#337274 #335274 #353374
triadic
#335274 #743352 #527433
tetradic
#335274 #743372 #745533 #337435
square
#335274 #743372 #745533 #337435
split-complementary
#335274 #743533 #727433
monochromatic
#0E161F #203449 #335274 #46709F #668FBC

Accessibility & contrast

On white

8.08
#335274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#335274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335274
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335274#FFFFFF#000000##FFFFFF
##3352741.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445376
Deuteranopia (green-blind)
#3C4D73
Tritanopia (blue-blind)
#0D5A5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #335274;
/* rgb */ color: rgb(51, 82, 116);
/* oklch */ color: oklch(43.0% 0.068 251.7);
Tailwind
colors: {
  custom: {
    50: '#70829c',
    500: '#335274',
    950: '#000000',
  },
}
SCSS
$custom: #335274;
$custom-light: #70829c;
$custom-dark: #000000;
JSON
{
  "hex": "#335274",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 211.385,
    "s": 38.922,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43022,
    "c": 0.06771,
    "h": 251.7
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#335274
secondary
#A4835F
accent
#9759CF
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #335274

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

Preview Lab → · Contrast checker → · Palette generator →

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