#335F94#335F94

#335F94 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.099 H 254.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#335F94
RGBrgb(51, 95, 148)
HSLhsl(213, 49%, 39%)
HSVhsv(213, 66%, 58%)
CMYKcmyk(65.5%, 35.8%, 0%, 42%)
CIE-LABlab(39.62, 2.43, -33.62)
CIE-LCHlch(39.62, 33.70, 274.13°)
OKLaboklab(47.98% -0.0269 -0.0953)
OKLCHoklch(47.98% 0.099 254.3)
XYZxyz(10.8008, 11.0253, 29.5701)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F94 #946833
analogous
#339094 #335F94 #383394
triadic
#335F94 #94335F #5F9433
tetradic
#335F94 #943390 #946833 #339438
square
#335F94 #943390 #946833 #339438
split-complementary
#335F94 #943833 #909433
monochromatic
#142539 #234266 #335F94 #457CBF #739CCF

Accessibility & contrast

On white

6.55
#335F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #335F94
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F94#FFFFFF#000000##FFFFFF
##335F941.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486296
Deuteranopia (green-blind)
#3B5993
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #335f94;
/* rgb */ color: rgb(51, 95, 148);
/* oklch */ color: oklch(48.0% 0.099 254.3);
Tailwind
colors: {
  custom: {
    50: '#758cb3',
    500: '#335f94',
    950: '#000000',
  },
}
SCSS
$custom: #335f94;
$custom-light: #758cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#335f94",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 212.784,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.09901,
    "h": 254.3
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

primary
#335F94
secondary
#B7956C
accent
#9A4FD8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #335F94

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

Preview Lab → · Contrast checker → · Palette generator →

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