#334ABD#334ABD

#334ABD is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.182 H 269.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#334ABD
RGBrgb(51, 74, 189)
HSLhsl(230, 58%, 47%)
HSVhsv(230, 73%, 74%)
CMYKcmyk(73%, 60.8%, 0%, 25.9%)
CIE-LABlab(36.51, 31.27, -62.98)
CIE-LCHlch(36.51, 70.32, 296.40°)
OKLaboklab(46.48% -0.0023 -0.1819)
OKLCHoklch(46.48% 0.182 269.3)
XYZxyz(12.9962, 9.2741, 49.2394)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334ABD #BDA633
analogous
#338FBD #334ABD #6133BD
triadic
#334ABD #BD334A #4ABD33
tetradic
#334ABD #BD338F #BDA633 #33BD61
square
#334ABD #BD338F #BDA633 #33BD61
split-complementary
#334ABD #BD6133 #8FBD33
monochromatic
#19245D #26378D #334ABD #5B6FD3 #8B99E0

Accessibility & contrast

On white

7.36
#334ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#334ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334ABD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334ABD#FFFFFF#000000##FFFFFF
##334ABD1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #334abd;
/* rgb */ color: rgb(51, 74, 189);
/* oklch */ color: oklch(46.5% 0.182 269.3);
Tailwind
colors: {
  custom: {
    50: '#7e7cd2',
    500: '#334abd',
    950: '#000000',
  },
}
SCSS
$custom: #334abd;
$custom-light: #7e7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#334abd",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 230,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46477,
    "c": 0.18188,
    "h": 269.3
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#334ABD
secondary
#CABE82
accent
#C747E1
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #334ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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