#335B7B#335B7B

#335B7B is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.6% C 0.069 H 244.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#335B7B
RGBrgb(51, 91, 123)
HSLhsl(207, 41%, 34%)
HSVhsv(207, 59%, 48%)
CMYKcmyk(58.5%, 26%, 0%, 51.8%)
CIE-LABlab(37.14, -3.90, -22.32)
CIE-LCHlch(37.14, 22.65, 260.09°)
OKLaboklab(45.62% -0.0301 -0.0625)
OKLCHoklch(45.62% 0.069 244.3)
XYZxyz(8.6802, 9.6153, 20.1336)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B7B #7B5333
analogous
#337B77 #335B7B #33377B
triadic
#335B7B #7B335B #5B7B33
tetradic
#335B7B #77337B #7B5333 #377B33
square
#335B7B #77337B #7B5333 #377B33
split-complementary
#335B7B #7B3337 #7B7733
monochromatic
#0F1B24 #213B50 #335B7B #457BA6 #6899C0

Accessibility & contrast

On white

7.18
#335B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#335B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335B7B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B7B#FFFFFF#000000##FFFFFF
##335B7B1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7C
Deuteranopia (green-blind)
#44547A
Tritanopia (blue-blind)
#006366
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #335b7b;
/* rgb */ color: rgb(51, 91, 123);
/* oklch */ color: oklch(45.6% 0.069 244.3);
Tailwind
colors: {
  custom: {
    50: '#7189a1',
    500: '#335b7b',
    950: '#000000',
  },
}
SCSS
$custom: #335b7b;
$custom-light: #7189a1;
$custom-dark: #000000;
JSON
{
  "hex": "#335b7b",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 123
  },
  "hsl": {
    "h": 206.667,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45621,
    "c": 0.06941,
    "h": 244.3
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#335B7B
secondary
#A88162
accent
#8D57D1
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080B0F
muted
#7B7C7E

Preview Lab

Preview with #335B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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