#334CCD#334CCD

#334CCD is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.2% C 0.200 H 268.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#334CCD
RGBrgb(51, 76, 205)
HSLhsl(230, 61%, 50%)
HSVhsv(230, 75%, 80%)
CMYKcmyk(75.1%, 62.9%, 0%, 19.6%)
CIE-LABlab(38.34, 35.78, -69.31)
CIE-LCHlch(38.34, 78.00, 297.30°)
OKLaboklab(48.25% -0.004 -0.2004)
OKLCHoklch(48.25% 0.2 268.9)
XYZxyz(14.9653, 10.2788, 58.9411)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334CCD #CDB433
analogous
#3399CD #334CCD #6733CD
triadic
#334CCD #CD334C #4CCD33
tetradic
#334CCD #CD3399 #CDB433 #33CD67
square
#334CCD #CD3399 #CDB433 #33CD67
split-complementary
#334CCD #CD6733 #99CD33
monochromatic
#1A276B #263A9C #334CCD #6477D9 #95A2E5

Accessibility & contrast

On white

6.87
#334CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#334CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #334CCD
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334CCD#FFFFFF#000000##FFFFFF
##334CCD1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #334ccd;
/* rgb */ color: rgb(51, 76, 205);
/* oklch */ color: oklch(48.2% 0.200 268.9);
Tailwind
colors: {
  custom: {
    50: '#817edd',
    500: '#334ccd',
    950: '#000000',
  },
}
SCSS
$custom: #334ccd;
$custom-light: #817edd;
$custom-dark: #000000;
JSON
{
  "hex": "#334ccd",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 230.26,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48245,
    "c": 0.20044,
    "h": 268.9
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#334CCD
secondary
#D0C58B
accent
#CA44E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #334CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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