#335D7B#335D7B

#335D7B is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.1% C 0.068 H 241.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#335D7B
RGBrgb(51, 93, 123)
HSLhsl(205, 41%, 34%)
HSVhsv(205, 59%, 48%)
CMYKcmyk(58.5%, 24.4%, 0%, 51.8%)
CIE-LABlab(37.77, -5.13, -21.34)
CIE-LCHlch(37.77, 21.95, 256.48°)
OKLaboklab(46.12% -0.0326 -0.0597)
OKLCHoklch(46.12% 0.068 241.4)
XYZxyz(8.8534, 9.9618, 20.1913)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D7B #7B5133
analogous
#337B75 #335D7B #33397B
triadic
#335D7B #7B335D #5D7B33
tetradic
#335D7B #75337B #7B5133 #397B33
square
#335D7B #75337B #7B5133 #397B33
split-complementary
#335D7B #7B3339 #7B7533
monochromatic
#0F1C24 #213C50 #335D7B #457EA6 #689CC0

Accessibility & contrast

On white

7.02
#335D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#335D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D7B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D7B#FFFFFF#000000##FFFFFF
##335D7B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7C
Deuteranopia (green-blind)
#46567A
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335d7b;
/* rgb */ color: rgb(51, 93, 123);
/* oklch */ color: oklch(46.1% 0.068 241.4);
Tailwind
colors: {
  custom: {
    50: '#718aa1',
    500: '#335d7b',
    950: '#000000',
  },
}
SCSS
$custom: #335d7b;
$custom-light: #718aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#335d7b",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 123
  },
  "hsl": {
    "h": 205,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4612,
    "c": 0.06801,
    "h": 241.4
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#335D7B
secondary
#A87F62
accent
#8A57D1
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080B0F
muted
#7B7C7E

Preview Lab

Preview with #335D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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