#334384#334384

#334384 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.110 H 270.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#334384
RGBrgb(51, 67, 132)
HSLhsl(228, 44%, 36%)
HSVhsv(228, 61%, 52%)
CMYKcmyk(61.4%, 49.2%, 0%, 48.2%)
CIE-LABlab(30.36, 14.97, -38.59)
CIE-LCHlch(30.36, 41.39, 291.21°)
OKLaboklab(40.52% 0.0008 -0.1102)
OKLCHoklch(40.52% 0.11 270.4)
XYZxyz(7.5359, 6.3835, 22.6603)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334384 #847433
analogous
#336B84 #334384 #4B3384
triadic
#334384 #843343 #438433
tetradic
#334384 #84336B #847433 #33844B
square
#334384 #84336B #847433 #33844B
split-complementary
#334384 #844B33 #6B8433
monochromatic
#11162C #222D58 #334384 #4459B0 #6B7DC6

Accessibility & contrast

On white

9.22
#334384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#334384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334384
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334384#FFFFFF#000000##FFFFFF
##3343841.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#164483
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334384;
/* rgb */ color: rgb(51, 67, 132);
/* oklch */ color: oklch(40.5% 0.110 270.4);
Tailwind
colors: {
  custom: {
    50: '#7376a8',
    500: '#334384',
    950: '#000000',
  },
}
SCSS
$custom: #334384;
$custom-light: #7376a8;
$custom-dark: #000000;
JSON
{
  "hex": "#334384",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 132
  },
  "hsl": {
    "h": 228.148,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40518,
    "c": 0.11024,
    "h": 270.4
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #334384

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

Preview Lab → · Contrast checker → · Palette generator →

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