#335A7D#335A7D

#335A7D is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.5% C 0.073 H 247.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#335A7D
RGBrgb(51, 90, 125)
HSLhsl(208, 42%, 35%)
HSVhsv(208, 59%, 49%)
CMYKcmyk(59.2%, 28%, 0%, 51%)
CIE-LABlab(36.92, -2.59, -23.89)
CIE-LCHlch(36.92, 24.03, 263.81°)
OKLaboklab(45.48% -0.0282 -0.0671)
OKLCHoklch(45.48% 0.073 247.2)
XYZxyz(8.7217, 9.4960, 20.7714)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335A7D #7D5633
analogous
#337D7B #335A7D #33357D
triadic
#335A7D #7D335A #5A7D33
tetradic
#335A7D #7B337D #7D5633 #357D33
square
#335A7D #7B337D #7D5633 #357D33
split-complementary
#335A7D #7D3335 #7D7B33
monochromatic
#101B26 #213B52 #335A7D #4579A8 #6998C2

Accessibility & contrast

On white

7.24
#335A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#335A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335A7D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335A7D#FFFFFF#000000##FFFFFF
##335A7D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B7F
Deuteranopia (green-blind)
#41547C
Tritanopia (blue-blind)
#006266
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #335a7d;
/* rgb */ color: rgb(51, 90, 125);
/* oklch */ color: oklch(45.5% 0.073 247.2);
Tailwind
colors: {
  custom: {
    50: '#7188a2',
    500: '#335a7d',
    950: '#000000',
  },
}
SCSS
$custom: #335a7d;
$custom-light: #7188a2;
$custom-dark: #000000;
JSON
{
  "hex": "#335a7d",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 125
  },
  "hsl": {
    "h": 208.378,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45478,
    "c": 0.07275,
    "h": 247.2
  },
  "luminance": 0.09497
}

Semantic roles & 50–950 ramp

primary
#335A7D
secondary
#AA8462
accent
#9156D2
background
#F7F8FA
surface
#EDEFF3
border
#C8CACD
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #335A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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