#335F90#335F90

#335F90 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.7% C 0.094 H 252.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#335F90
RGBrgb(51, 95, 144)
HSLhsl(212, 48%, 38%)
HSVhsv(212, 65%, 56%)
CMYKcmyk(64.6%, 34%, 0%, 43.5%)
CIE-LABlab(39.41, 0.99, -31.54)
CIE-LCHlch(39.41, 31.56, 271.79°)
OKLaboklab(47.75% -0.028 -0.0892)
OKLCHoklch(47.75% 0.094 252.6)
XYZxyz(10.4897, 10.9008, 27.9314)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F90 #906433
analogous
#338D90 #335F90 #363390
triadic
#335F90 #90335F #5F9033
tetradic
#335F90 #90338D #906433 #339036
square
#335F90 #90338D #906433 #339036
split-complementary
#335F90 #903633 #8D9033
monochromatic
#132336 #234163 #335F90 #447DBD #719CCD

Accessibility & contrast

On white

6.60
#335F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#335F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335F90
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F90#FFFFFF#000000##FFFFFF
##335F901.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6292
Deuteranopia (green-blind)
#3D598F
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #335f90;
/* rgb */ color: rgb(51, 95, 144);
/* oklch */ color: oklch(47.7% 0.094 252.6);
Tailwind
colors: {
  custom: {
    50: '#748cb1',
    500: '#335f90',
    950: '#000000',
  },
}
SCSS
$custom: #335f90;
$custom-light: #748cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#335f90",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 144
  },
  "hsl": {
    "h": 211.613,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.09353,
    "h": 252.6
  },
  "luminance": 0.10902
}

Semantic roles & 50–950 ramp

primary
#335F90
secondary
#B5916A
accent
#9851D7
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #335F90

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

Preview Lab → · Contrast checker → · Palette generator →

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