#335490#335490

#335490 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.106 H 261.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#335490
RGBrgb(51, 84, 144)
HSLhsl(219, 48%, 38%)
HSVhsv(219, 65%, 56%)
CMYKcmyk(64.6%, 41.7%, 0%, 43.5%)
CIE-LABlab(36.09, 8.05, -36.79)
CIE-LCHlch(36.09, 37.66, 282.34°)
OKLaboklab(45.16% -0.0158 -0.1047)
OKLCHoklch(45.16% 0.106 261.4)
XYZxyz(9.5678, 9.0572, 27.6241)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335490 #906F33
analogous
#338290 #335490 #413390
triadic
#335490 #903354 #549033
tetradic
#335490 #903382 #906F33 #339041
square
#335490 #903382 #906F33 #339041
split-complementary
#335490 #904133 #829033
monochromatic
#131F36 #233A63 #335490 #446FBD #7191CD

Accessibility & contrast

On white

7.47
#335490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#335490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335490
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335490#FFFFFF#000000##FFFFFF
##3354901.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A92
Deuteranopia (green-blind)
#2C518F
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335490;
/* rgb */ color: rgb(51, 84, 144);
/* oklch */ color: oklch(45.2% 0.106 261.4);
Tailwind
colors: {
  custom: {
    50: '#7483b1',
    500: '#335490',
    950: '#000000',
  },
}
SCSS
$custom: #335490;
$custom-light: #7483b1;
$custom-dark: #000000;
JSON
{
  "hex": "#335490",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 144
  },
  "hsl": {
    "h": 218.71,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45161,
    "c": 0.10592,
    "h": 261.4
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#335490
secondary
#B59A6A
accent
#A751D7
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #335490

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

Preview Lab → · Contrast checker → · Palette generator →

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