#334BC9#334BC9

#334BC9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.196 H 269.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#334BC9
RGBrgb(51, 75, 201)
HSLhsl(230, 60%, 49%)
HSVhsv(230, 75%, 79%)
CMYKcmyk(74.6%, 62.7%, 0%, 21.2%)
CIE-LABlab(37.76, 34.97, -67.95)
CIE-LCHlch(37.76, 76.42, 297.23°)
OKLaboklab(47.71% -0.0032 -0.1964)
OKLCHoklch(47.71% 0.196 269.1)
XYZxyz(14.4203, 9.9515, 56.4079)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334BC9 #C9B133
analogous
#3396C9 #334BC9 #6633C9
triadic
#334BC9 #C9334B #4BC933
tetradic
#334BC9 #C93396 #C9B133 #33C966
square
#334BC9 #C93396 #C9B133 #33C966
split-complementary
#334BC9 #C96633 #96C933
monochromatic
#1A2767 #273998 #334BC9 #6275D7 #93A0E4

Accessibility & contrast

On white

7.02
#334BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#334BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334BC9
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334BC9#FFFFFF#000000##FFFFFF
##334BC91.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #334bc9;
/* rgb */ color: rgb(51, 75, 201);
/* oklch */ color: oklch(47.7% 0.196 269.1);
Tailwind
colors: {
  custom: {
    50: '#817dda',
    500: '#334bc9',
    950: '#000000',
  },
}
SCSS
$custom: #334bc9;
$custom-light: #817dda;
$custom-dark: #000000;
JSON
{
  "hex": "#334bc9",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 230.4,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4771,
    "c": 0.19644,
    "h": 269.1
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#334BC9
secondary
#CFC389
accent
#C945E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #334BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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