#334DC9#334DC9

#334DC9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.194 H 268.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#334DC9
RGBrgb(51, 77, 201)
HSLhsl(230, 60%, 49%)
HSVhsv(230, 75%, 79%)
CMYKcmyk(74.6%, 61.7%, 0%, 21.2%)
CIE-LABlab(38.25, 33.70, -67.14)
CIE-LCHlch(38.25, 75.13, 296.65°)
OKLaboklab(48.07% -0.0045 -0.194)
OKLCHoklch(48.07% 0.194 268.7)
XYZxyz(14.5581, 10.2270, 56.4538)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334DC9 #C9AF33
analogous
#3398C9 #334DC9 #6433C9
triadic
#334DC9 #C9334D #4DC933
tetradic
#334DC9 #C93398 #C9AF33 #33C964
square
#334DC9 #C93398 #C9AF33 #33C964
split-complementary
#334DC9 #C96433 #98C933
monochromatic
#1A2867 #273A98 #334DC9 #6276D7 #93A1E4

Accessibility & contrast

On white

6.89
#334DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#334DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #334DC9
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334DC9#FFFFFF#000000##FFFFFF
##334DC91.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #334dc9;
/* rgb */ color: rgb(51, 77, 201);
/* oklch */ color: oklch(48.1% 0.194 268.7);
Tailwind
colors: {
  custom: {
    50: '#807eda',
    500: '#334dc9',
    950: '#000000',
  },
}
SCSS
$custom: #334dc9;
$custom-light: #807eda;
$custom-dark: #000000;
JSON
{
  "hex": "#334dc9",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 229.6,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48073,
    "c": 0.19408,
    "h": 268.7
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#334DC9
secondary
#CFC389
accent
#C745E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #334DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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