#335E8E#335E8E

#335E8E is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.092 H 252.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#335E8E
RGBrgb(51, 94, 142)
HSLhsl(212, 47%, 38%)
HSVhsv(212, 64%, 56%)
CMYKcmyk(64.1%, 33.8%, 0%, 44.3%)
CIE-LABlab(39.00, 0.90, -30.98)
CIE-LCHlch(39.00, 30.99, 271.66°)
OKLaboklab(47.39% -0.0275 -0.0876)
OKLCHoklch(47.39% 0.092 252.6)
XYZxyz(10.2487, 10.6612, 27.1037)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E8E #8E6333
analogous
#338B8E #335E8E #35338E
triadic
#335E8E #8E335E #5E8E33
tetradic
#335E8E #8E338B #8E6333 #338E35
square
#335E8E #8E338B #8E6333 #338E35
split-complementary
#335E8E #8E3533 #8B8E33
monochromatic
#132234 #234061 #335E8E #437CBB #709BCC

Accessibility & contrast

On white

6.70
#335E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#335E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335E8E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E8E#FFFFFF#000000##FFFFFF
##335E8E1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496190
Deuteranopia (green-blind)
#3D588D
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #335e8e;
/* rgb */ color: rgb(51, 94, 142);
/* oklch */ color: oklch(47.4% 0.092 252.6);
Tailwind
colors: {
  custom: {
    50: '#748baf',
    500: '#335e8e',
    950: '#000000',
  },
}
SCSS
$custom: #335e8e;
$custom-light: #748baf;
$custom-dark: #000000;
JSON
{
  "hex": "#335e8e",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 142
  },
  "hsl": {
    "h": 211.648,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4739,
    "c": 0.09181,
    "h": 252.6
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#335E8E
secondary
#B49069
accent
#9851D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #335E8E

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

Preview Lab → · Contrast checker → · Palette generator →

#335E8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva