#334CC0#334CC0

#334CC0 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.183 H 268.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#334CC0
RGBrgb(51, 76, 192)
HSLhsl(229, 58%, 48%)
HSVhsv(229, 73%, 75%)
CMYKcmyk(73.4%, 60.4%, 0%, 24.7%)
CIE-LABlab(37.26, 31.07, -63.52)
CIE-LCHlch(37.26, 70.71, 296.07°)
OKLaboklab(47.11% -0.0037 -0.1834)
OKLCHoklch(47.11% 0.183 268.8)
XYZxyz(13.4608, 9.6770, 51.0174)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334CC0 #C0A733
analogous
#3392C0 #334CC0 #6133C0
triadic
#334CC0 #C0334C #4CC033
tetradic
#334CC0 #C03392 #C0A733 #33C061
square
#334CC0 #C03392 #C0A733 #33C061
split-complementary
#334CC0 #C06133 #92C033
monochromatic
#19265F #263990 #334CC0 #5C72D4 #8D9CE1

Accessibility & contrast

On white

7.15
#334CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#334CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334CC0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334CC0#FFFFFF#000000##FFFFFF
##334CC01.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #334cc0;
/* rgb */ color: rgb(51, 76, 192);
/* oklch */ color: oklch(47.1% 0.183 268.8);
Tailwind
colors: {
  custom: {
    50: '#7f7dd4',
    500: '#334cc0',
    950: '#000000',
  },
}
SCSS
$custom: #334cc0;
$custom-light: #7f7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#334cc0",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 229.362,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4711,
    "c": 0.18345,
    "h": 268.8
  },
  "luminance": 0.09678
}

Semantic roles & 50–950 ramp

primary
#334CC0
secondary
#CBBE84
accent
#C647E1
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #334CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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