#335EA0#335EA0

#335EA0 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.5% C 0.117 H 258.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#335EA0
RGBrgb(51, 94, 160)
HSLhsl(216, 52%, 41%)
HSVhsv(216, 68%, 63%)
CMYKcmyk(68.1%, 41.3%, 0%, 37.3%)
CIE-LABlab(39.99, 7.46, -40.21)
CIE-LCHlch(39.99, 40.90, 280.51°)
OKLaboklab(48.48% -0.0228 -0.1146)
OKLCHoklch(48.48% 0.117 258.7)
XYZxyz(11.7108, 11.2461, 34.8044)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335EA0 #A07533
analogous
#3395A0 #335EA0 #3E33A0
triadic
#335EA0 #A0335E #5EA033
tetradic
#335EA0 #A03395 #A07533 #33A03E
square
#335EA0 #A03395 #A07533 #33A03E
split-complementary
#335EA0 #A03E33 #95A033
monochromatic
#152743 #244372 #335EA0 #4B7BC6 #799DD4

Accessibility & contrast

On white

6.46
#335EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#335EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335EA0
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335EA0#FFFFFF#000000##FFFFFF
##335EA01.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A3
Deuteranopia (green-blind)
#2F5A9F
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #335ea0;
/* rgb */ color: rgb(51, 94, 160);
/* oklch */ color: oklch(48.5% 0.117 258.7);
Tailwind
colors: {
  custom: {
    50: '#778bbc',
    500: '#335ea0',
    950: '#000000',
  },
}
SCSS
$custom: #335ea0;
$custom-light: #778bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#335ea0",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 216.33,
    "s": 51.659,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48483,
    "c": 0.11686,
    "h": 258.7
  },
  "luminance": 0.11247
}

Semantic roles & 50–950 ramp

primary
#335EA0
secondary
#BD9F72
accent
#A34DDB
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #335EA0

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

Preview Lab → · Contrast checker → · Palette generator →

#335EA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva