#334DC0#334DC0

#334DC0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.182 H 268.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#334DC0
RGBrgb(51, 77, 192)
HSLhsl(229, 58%, 48%)
HSVhsv(229, 73%, 75%)
CMYKcmyk(73.4%, 59.9%, 0%, 24.7%)
CIE-LABlab(37.51, 30.43, -63.10)
CIE-LCHlch(37.51, 70.06, 295.74°)
OKLaboklab(47.3% -0.0044 -0.1822)
OKLCHoklch(47.3% 0.182 268.6)
XYZxyz(13.5303, 9.8159, 51.0405)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334DC0 #C0A633
analogous
#3394C0 #334DC0 #5F33C0
triadic
#334DC0 #C0334D #4DC033
tetradic
#334DC0 #C03394 #C0A633 #33C05F
square
#334DC0 #C03394 #C0A633 #33C05F
split-complementary
#334DC0 #C05F33 #94C033
monochromatic
#19265F #263A90 #334DC0 #5C72D4 #8D9CE1

Accessibility & contrast

On white

7.09
#334DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#334DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334DC0
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334DC0#FFFFFF#000000##FFFFFF
##334DC01.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #334dc0;
/* rgb */ color: rgb(51, 77, 192);
/* oklch */ color: oklch(47.3% 0.182 268.6);
Tailwind
colors: {
  custom: {
    50: '#7e7ed4',
    500: '#334dc0',
    950: '#000000',
  },
}
SCSS
$custom: #334dc0;
$custom-light: #7e7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#334dc0",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 228.936,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47298,
    "c": 0.18224,
    "h": 268.6
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#334DC0
secondary
#CBBE84
accent
#C547E1
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #334DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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