#335595#335595

#335595 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.112 H 261.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#335595
RGBrgb(51, 85, 149)
HSLhsl(219, 49%, 39%)
HSVhsv(219, 66%, 58%)
CMYKcmyk(65.8%, 43%, 0%, 41.6%)
CIE-LABlab(36.69, 9.23, -38.88)
CIE-LCHlch(36.69, 39.96, 283.36°)
OKLaboklab(45.72% -0.0158 -0.1108)
OKLCHoklch(45.72% 0.112 261.9)
XYZxyz(10.0366, 9.3698, 29.7076)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335595 #957333
analogous
#338695 #335595 #423395
triadic
#335595 #953355 #559533
tetradic
#335595 #953386 #957333 #339542
square
#335595 #953386 #957333 #339542
split-complementary
#335595 #954233 #869533
monochromatic
#14213A #233B67 #335595 #4670C0 #7393CF

Accessibility & contrast

On white

7.31
#335595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#335595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335595
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335595#FFFFFF#000000##FFFFFF
##3355951.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385B97
Deuteranopia (green-blind)
#295294
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #335595;
/* rgb */ color: rgb(51, 85, 149);
/* oklch */ color: oklch(45.7% 0.112 261.9);
Tailwind
colors: {
  custom: {
    50: '#7584b4',
    500: '#335595',
    950: '#000000',
  },
}
SCSS
$custom: #335595;
$custom-light: #7584b4;
$custom-dark: #000000;
JSON
{
  "hex": "#335595",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 149
  },
  "hsl": {
    "h": 219.184,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45715,
    "c": 0.11196,
    "h": 261.9
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#335595
secondary
#B79D6C
accent
#A94FD9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #335595

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

Preview Lab → · Contrast checker → · Palette generator →

#335595 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva