#334CD0#334CD0

#334CD0 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.5% C 0.204 H 268.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#334CD0
RGBrgb(51, 76, 208)
HSLhsl(230, 63%, 51%)
HSVhsv(230, 75%, 82%)
CMYKcmyk(75.5%, 63.5%, 0%, 18.4%)
CIE-LABlab(38.59, 36.85, -70.63)
CIE-LCHlch(38.59, 79.66, 297.56°)
OKLaboklab(48.51% -0.0041 -0.2042)
OKLCHoklch(48.51% 0.204 268.9)
XYZxyz(15.3309, 10.4251, 60.8665)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334CD0 #D0B733
analogous
#339AD0 #334CD0 #6833D0
triadic
#334CD0 #D0334C #4CD033
tetradic
#334CD0 #D0339A #D0B733 #33D068
square
#334CD0 #D0339A #D0B733 #33D068
split-complementary
#334CD0 #D06833 #9AD033
monochromatic
#1A276F #2539A1 #334CD0 #6578DB #96A3E7

Accessibility & contrast

On white

6.81
#334CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#334CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #334CD0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334CD0#FFFFFF#000000##FFFFFF
##334CD01.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0054CD
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #334cd0;
/* rgb */ color: rgb(51, 76, 208);
/* oklch */ color: oklch(48.5% 0.204 268.9);
Tailwind
colors: {
  custom: {
    50: '#827edf',
    500: '#334cd0',
    950: '#000000',
  },
}
SCSS
$custom: #334cd0;
$custom-light: #827edf;
$custom-dark: #000000;
JSON
{
  "hex": "#334cd0",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 230.446,
    "s": 62.55,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48513,
    "c": 0.20429,
    "h": 268.9
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#334CD0
secondary
#D2C78D
accent
#CC42E6
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #334CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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