#335F95#335F95

#335F95 is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.0% C 0.100 H 254.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#335F95
RGBrgb(51, 95, 149)
HSLhsl(213, 49%, 39%)
HSVhsv(213, 66%, 58%)
CMYKcmyk(65.8%, 36.2%, 0%, 41.6%)
CIE-LABlab(39.68, 2.79, -34.13)
CIE-LCHlch(39.68, 34.25, 274.67°)
OKLaboklab(48.04% -0.0266 -0.0968)
OKLCHoklch(48.04% 0.1 254.6)
XYZxyz(10.8803, 11.0571, 29.9888)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F95 #956933
analogous
#339095 #335F95 #383395
triadic
#335F95 #95335F #5F9533
tetradic
#335F95 #953390 #956933 #339538
square
#335F95 #953390 #956933 #339538
split-complementary
#335F95 #953833 #909533
monochromatic
#14253A #234267 #335F95 #467CC0 #739DCF

Accessibility & contrast

On white

6.54
#335F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#335F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335F95
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F95#FFFFFF#000000##FFFFFF
##335F951.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486397
Deuteranopia (green-blind)
#3A5994
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #335f95;
/* rgb */ color: rgb(51, 95, 149);
/* oklch */ color: oklch(48.0% 0.100 254.6);
Tailwind
colors: {
  custom: {
    50: '#758cb4',
    500: '#335f95',
    950: '#000000',
  },
}
SCSS
$custom: #335f95;
$custom-light: #758cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#335f95",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 149
  },
  "hsl": {
    "h": 213.061,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.10039,
    "h": 254.6
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#335F95
secondary
#B7966C
accent
#9B4FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #335F95

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

Preview Lab → · Contrast checker → · Palette generator →

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