#336BBE#336BBE

#336BBE is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.4% C 0.143 H 258.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#336BBE
RGBrgb(51, 107, 190)
HSLhsl(216, 58%, 47%)
HSVhsv(216, 73%, 75%)
CMYKcmyk(73.2%, 43.7%, 0%, 25.5%)
CIE-LABlab(45.55, 10.30, -48.95)
CIE-LCHlch(45.55, 50.03, 281.88°)
OKLaboklab(53.36% -0.029 -0.1401)
OKLCHoklch(53.36% 0.143 258.3)
XYZxyz(15.9138, 14.9352, 50.7493)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BBE #BE8633
analogous
#33B1BE #336BBE #4033BE
triadic
#336BBE #BE336B #6BBE33
tetradic
#336BBE #BE33B1 #BE8633 #33BE40
square
#336BBE #BE33B1 #BE8633 #33BE40
split-complementary
#336BBE #BE4033 #B1BE33
monochromatic
#19355E #26508E #336BBE #5B8BD3 #8BADE0

Accessibility & contrast

On white

5.27
#336BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#336BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BBE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BBE#FFFFFF#000000##FFFFFF
##336BBE1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4273C1
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336bbe;
/* rgb */ color: rgb(51, 107, 190);
/* oklch */ color: oklch(53.4% 0.143 258.3);
Tailwind
colors: {
  custom: {
    50: '#7d94d2',
    500: '#336bbe',
    950: '#000000',
  },
}
SCSS
$custom: #336bbe;
$custom-light: #7d94d2;
$custom-dark: #000000;
JSON
{
  "hex": "#336bbe",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 190
  },
  "hsl": {
    "h": 215.827,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53358,
    "c": 0.14305,
    "h": 258.3
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#336BBE
secondary
#CAAD83
accent
#A347E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336BBE

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

Preview Lab → · Contrast checker → · Palette generator →

#336BBE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva