#335290#335290

#335290 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.108 H 262.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#335290
RGBrgb(51, 82, 144)
HSLhsl(220, 48%, 38%)
HSVhsv(220, 65%, 56%)
CMYKcmyk(64.6%, 43.1%, 0%, 43.5%)
CIE-LABlab(35.50, 9.36, -37.74)
CIE-LCHlch(35.50, 38.88, 283.93°)
OKLaboklab(44.7% -0.0136 -0.1075)
OKLCHoklch(44.7% 0.108 262.8)
XYZxyz(9.4148, 8.7512, 27.5731)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335290 #907133
analogous
#338090 #335290 #423390
triadic
#335290 #903352 #529033
tetradic
#335290 #903380 #907133 #339042
square
#335290 #903380 #907133 #339042
split-complementary
#335290 #904233 #809033
monochromatic
#131F36 #233863 #335290 #446CBD #718FCD

Accessibility & contrast

On white

7.64
#335290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#335290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335290
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335290#FFFFFF#000000##FFFFFF
##3352901.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365892
Deuteranopia (green-blind)
#28508F
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335290;
/* rgb */ color: rgb(51, 82, 144);
/* oklch */ color: oklch(44.7% 0.108 262.8);
Tailwind
colors: {
  custom: {
    50: '#7482b1',
    500: '#335290',
    950: '#000000',
  },
}
SCSS
$custom: #335290;
$custom-light: #7482b1;
$custom-dark: #000000;
JSON
{
  "hex": "#335290",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 220,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44702,
    "c": 0.10839,
    "h": 262.8
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#335290
secondary
#B59C6A
accent
#AA51D7
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #335290

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

Preview Lab → · Contrast checker → · Palette generator →

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