#335F88#335F88

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

Color values

HEX#335F88
RGBrgb(51, 95, 136)
HSLhsl(209, 45%, 37%)
HSVhsv(209, 63%, 53%)
CMYKcmyk(62.5%, 30.1%, 0%, 46.7%)
CIE-LABlab(39.01, -1.86, -27.34)
CIE-LCHlch(39.01, 27.40, 266.10°)
OKLaboklab(47.3% -0.0305 -0.077)
OKLCHoklch(47.3% 0.083 248.4)
XYZxyz(9.8998, 10.6649, 24.8246)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F88 #885C33
analogous
#338887 #335F88 #333588
triadic
#335F88 #88335F #5F8833
tetradic
#335F88 #873388 #885C33 #358833
square
#335F88 #873388 #885C33 #358833
split-complementary
#335F88 #883335 #888733
monochromatic
#12212F #22405B #335F88 #447EB5 #6D9CC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335F88#FFFFFF#000000##FFFFFF
##335F881.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)
#4D608A
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #335f88;
/* rgb */ color: rgb(51, 95, 136);
/* oklch */ color: oklch(47.3% 0.083 248.4);
Tailwind
colors: {
  custom: {
    50: '#738cab',
    500: '#335f88',
    950: '#000000',
  },
}
SCSS
$custom: #335f88;
$custom-light: #738cab;
$custom-dark: #000000;
JSON
{
  "hex": "#335f88",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 136
  },
  "hsl": {
    "h": 208.941,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47296,
    "c": 0.08282,
    "h": 248.4
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#335F88
secondary
#B08A67
accent
#9253D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #335F88

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

Preview Lab → · Contrast checker → · Palette generator →

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