#335F92#335F92

#335F92 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.9% C 0.096 H 253.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#335F92
RGBrgb(51, 95, 146)
HSLhsl(212, 48%, 39%)
HSVhsv(212, 65%, 57%)
CMYKcmyk(65.1%, 34.9%, 0%, 42.7%)
CIE-LABlab(39.52, 1.71, -32.58)
CIE-LCHlch(39.52, 32.62, 273.00°)
OKLaboklab(47.86% -0.0274 -0.0923)
OKLCHoklch(47.86% 0.096 253.4)
XYZxyz(10.6439, 10.9625, 28.7436)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F92 #926633
analogous
#338E92 #335F92 #373392
triadic
#335F92 #92335F #5F9233
tetradic
#335F92 #92338E #926633 #339237
square
#335F92 #92338E #926633 #339237
split-complementary
#335F92 #923733 #8E9233
monochromatic
#132437 #234165 #335F92 #447DBE #729CCE

Accessibility & contrast

On white

6.58
#335F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#335F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335F92
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F92#FFFFFF#000000##FFFFFF
##335F921.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496294
Deuteranopia (green-blind)
#3C5991
Tritanopia (blue-blind)
#006B71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #335f92;
/* rgb */ color: rgb(51, 95, 146);
/* oklch */ color: oklch(47.9% 0.096 253.4);
Tailwind
colors: {
  custom: {
    50: '#748cb2',
    500: '#335f92',
    950: '#000000',
  },
}
SCSS
$custom: #335f92;
$custom-light: #748cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#335f92",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 146
  },
  "hsl": {
    "h": 212.211,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47861,
    "c": 0.09626,
    "h": 253.4
  },
  "luminance": 0.10964
}

Semantic roles & 50–950 ramp

primary
#335F92
secondary
#B6936B
accent
#9950D8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #335F92

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

Preview Lab → · Contrast checker → · Palette generator →

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