#334485#334485

#334485 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.8% C 0.110 H 269.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#334485
RGBrgb(51, 68, 133)
HSLhsl(228, 45%, 36%)
HSVhsv(228, 62%, 52%)
CMYKcmyk(61.7%, 48.9%, 0%, 47.8%)
CIE-LABlab(30.71, 14.66, -38.64)
CIE-LCHlch(30.71, 41.33, 290.78°)
OKLaboklab(40.81% -0.0001 -0.1104)
OKLCHoklch(40.81% 0.11 269.9)
XYZxyz(7.6646, 6.5309, 23.0424)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334485 #857433
analogous
#336D85 #334485 #4B3385
triadic
#334485 #853344 #448533
tetradic
#334485 #85336D #857433 #33854B
square
#334485 #85336D #857433 #33854B
split-complementary
#334485 #854B33 #6D8533
monochromatic
#11172D #222D59 #334485 #445BB1 #6C7FC7

Accessibility & contrast

On white

9.11
#334485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#334485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334485
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334485#FFFFFF#000000##FFFFFF
##3344851.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#174584
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #334485;
/* rgb */ color: rgb(51, 68, 133);
/* oklch */ color: oklch(40.8% 0.110 269.9);
Tailwind
colors: {
  custom: {
    50: '#7377a9',
    500: '#334485',
    950: '#000000',
  },
}
SCSS
$custom: #334485;
$custom-light: #7377a9;
$custom-dark: #000000;
JSON
{
  "hex": "#334485",
  "rgb": {
    "r": 51,
    "g": 68,
    "b": 133
  },
  "hsl": {
    "h": 227.561,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.11038,
    "h": 269.9
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#334485
secondary
#AE9F65
accent
#BA54D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #334485

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

Preview Lab → · Contrast checker → · Palette generator →

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