#335494#335494

#335494 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.112 H 262.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#335494
RGBrgb(51, 84, 148)
HSLhsl(220, 49%, 39%)
HSVhsv(220, 66%, 58%)
CMYKcmyk(65.5%, 43.2%, 0%, 42%)
CIE-LABlab(36.33, 9.52, -38.84)
CIE-LCHlch(36.33, 39.99, 283.77°)
OKLaboklab(45.42% -0.015 -0.1107)
OKLCHoklch(45.42% 0.112 262.3)
XYZxyz(9.8790, 9.1817, 29.2628)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335494 #947333
analogous
#338594 #335494 #433394
triadic
#335494 #943354 #549433
tetradic
#335494 #943385 #947333 #339443
square
#335494 #943385 #947333 #339443
split-complementary
#335494 #944333 #859433
monochromatic
#142039 #233A66 #335494 #456FBF #7392CF

Accessibility & contrast

On white

7.40
#335494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#335494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335494
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335494#FFFFFF#000000##FFFFFF
##3354941.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A96
Deuteranopia (green-blind)
#285193
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335494;
/* rgb */ color: rgb(51, 84, 148);
/* oklch */ color: oklch(45.4% 0.112 262.3);
Tailwind
colors: {
  custom: {
    50: '#7583b4',
    500: '#335494',
    950: '#000000',
  },
}
SCSS
$custom: #335494;
$custom-light: #7583b4;
$custom-dark: #000000;
JSON
{
  "hex": "#335494",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 219.588,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45421,
    "c": 0.11175,
    "h": 262.3
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #335494

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

Preview Lab → · Contrast checker → · Palette generator →

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