#334C93#334C93

#334C93 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.121 H 266.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#334C93
RGBrgb(51, 76, 147)
HSLhsl(224, 48%, 39%)
HSVhsv(224, 65%, 58%)
CMYKcmyk(65.3%, 48.3%, 0%, 42.4%)
CIE-LABlab(33.94, 14.44, -42.06)
CIE-LCHlch(33.94, 44.47, 288.95°)
OKLaboklab(43.56% -0.0067 -0.1203)
OKLCHoklch(43.56% 0.121 266.8)
XYZxyz(9.2143, 7.9784, 28.6525)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C93 #937A33
analogous
#337C93 #334C93 #4A3393
triadic
#334C93 #93334C #4C9333
tetradic
#334C93 #93337C #937A33 #33934A
square
#334C93 #93337C #937A33 #33934A
split-complementary
#334C93 #934A33 #7C9333
monochromatic
#131D38 #233566 #334C93 #4564BE #728ACE

Accessibility & contrast

On white

8.09
#334C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#334C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334C93
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C93#FFFFFF#000000##FFFFFF
##334C931.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285496
Deuteranopia (green-blind)
#164C92
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #334c93;
/* rgb */ color: rgb(51, 76, 147);
/* oklch */ color: oklch(43.6% 0.121 266.8);
Tailwind
colors: {
  custom: {
    50: '#757db3',
    500: '#334c93',
    950: '#000000',
  },
}
SCSS
$custom: #334c93;
$custom-light: #757db3;
$custom-dark: #000000;
JSON
{
  "hex": "#334c93",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 147
  },
  "hsl": {
    "h": 224.375,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43564,
    "c": 0.12052,
    "h": 266.8
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#334C93
secondary
#B6A36C
accent
#B550D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #334C93

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

Preview Lab → · Contrast checker → · Palette generator →

#334C93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva