#335E81#335E81

#335E81 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.075 H 244.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#335E81
RGBrgb(51, 94, 129)
HSLhsl(207, 43%, 35%)
HSVhsv(207, 60%, 51%)
CMYKcmyk(60.5%, 27.1%, 0%, 49.4%)
CIE-LABlab(38.36, -3.69, -24.09)
CIE-LCHlch(38.36, 24.37, 261.30°)
OKLaboklab(46.68% -0.0316 -0.0676)
OKLCHoklch(46.68% 0.075 244.9)
XYZxyz(9.3289, 10.2934, 22.2598)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E81 #815633
analogous
#33817D #335E81 #333781
triadic
#335E81 #81335E #5E8133
tetradic
#335E81 #7D3381 #815633 #378133
square
#335E81 #7D3381 #815633 #378133
split-complementary
#335E81 #813337 #817D33
monochromatic
#101E29 #223E55 #335E81 #447EAD #6A9CC4

Accessibility & contrast

On white

6.87
#335E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#335E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335E81
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E81#FFFFFF#000000##FFFFFF
##335E811.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F83
Deuteranopia (green-blind)
#445780
Tritanopia (blue-blind)
#00666A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335e81;
/* rgb */ color: rgb(51, 94, 129);
/* oklch */ color: oklch(46.7% 0.075 244.9);
Tailwind
colors: {
  custom: {
    50: '#728ba5',
    500: '#335e81',
    950: '#000000',
  },
}
SCSS
$custom: #335e81;
$custom-light: #728ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#335e81",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 129
  },
  "hsl": {
    "h": 206.923,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.07466,
    "h": 244.9
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#335E81
secondary
#AC8464
accent
#8D55D3
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #335E81

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

Preview Lab → · Contrast checker → · Palette generator →

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