#335695#335695

#335695 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.111 H 261.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#335695
RGBrgb(51, 86, 149)
HSLhsl(219, 49%, 39%)
HSVhsv(219, 66%, 58%)
CMYKcmyk(65.8%, 42.3%, 0%, 41.6%)
CIE-LABlab(36.98, 8.58, -38.41)
CIE-LCHlch(36.98, 39.35, 282.59°)
OKLaboklab(45.94% -0.0169 -0.1094)
OKLCHoklch(45.94% 0.111 261.2)
XYZxyz(10.1159, 9.5284, 29.7340)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335695 #957233
analogous
#338795 #335695 #413395
triadic
#335695 #953356 #569533
tetradic
#335695 #953387 #957233 #339541
square
#335695 #953387 #957233 #339541
split-complementary
#335695 #954133 #879533
monochromatic
#14213A #233C67 #335695 #4671C0 #7394CF

Accessibility & contrast

On white

7.23
#335695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#335695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335695
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335695#FFFFFF#000000##FFFFFF
##3356951.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C97
Deuteranopia (green-blind)
#2B5394
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #335695;
/* rgb */ color: rgb(51, 86, 149);
/* oklch */ color: oklch(45.9% 0.111 261.2);
Tailwind
colors: {
  custom: {
    50: '#7585b4',
    500: '#335695',
    950: '#000000',
  },
}
SCSS
$custom: #335695;
$custom-light: #7585b4;
$custom-dark: #000000;
JSON
{
  "hex": "#335695",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 149
  },
  "hsl": {
    "h": 218.571,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45943,
    "c": 0.11074,
    "h": 261.2
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#335695
secondary
#B79D6C
accent
#A84FD9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335695

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

Preview Lab → · Contrast checker → · Palette generator →

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