#334376#334376

#334376 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.089 H 269.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#334376
RGBrgb(51, 67, 118)
HSLhsl(226, 40%, 33%)
HSVhsv(226, 57%, 46%)
CMYKcmyk(56.8%, 43.2%, 0%, 53.7%)
CIE-LABlab(29.48, 9.92, -31.25)
CIE-LCHlch(29.48, 32.79, 287.61°)
OKLaboklab(39.56% -0.0016 -0.0887)
OKLCHoklch(39.56% 0.089 269)
XYZxyz(6.6413, 6.0256, 17.9491)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334376 #766633
analogous
#336476 #334376 #443376
triadic
#334376 #763343 #437633
tetradic
#334376 #763364 #766633 #337644
square
#334376 #763364 #766633 #337644
split-complementary
#334376 #764433 #647633
monochromatic
#0E1221 #212B4B #334376 #455BA1 #667BBD

Accessibility & contrast

On white

9.52
#334376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#334376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334376
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334376#FFFFFF#000000##FFFFFF
##3343761.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#264375
Tritanopia (blue-blind)
#0F4E56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #334376;
/* rgb */ color: rgb(51, 67, 118);
/* oklch */ color: oklch(39.6% 0.089 269.0);
Tailwind
colors: {
  custom: {
    50: '#70769e',
    500: '#334376',
    950: '#000000',
  },
}
SCSS
$custom: #334376;
$custom-light: #70769e;
$custom-dark: #000000;
JSON
{
  "hex": "#334376",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 118
  },
  "hsl": {
    "h": 225.672,
    "s": 39.645,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39557,
    "c": 0.08871,
    "h": 269
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#334376
secondary
#A59460
accent
#B358D0
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #334376

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

Preview Lab → · Contrast checker → · Palette generator →

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