#335EBF#335EBF

#335EBF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.160 H 263.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#335EBF
RGBrgb(51, 94, 191)
HSLhsl(222, 58%, 47%)
HSVhsv(222, 73%, 75%)
CMYKcmyk(73.3%, 50.8%, 0%, 25.1%)
CIE-LABlab(41.95, 19.01, -55.31)
CIE-LCHlch(41.95, 58.49, 288.97°)
OKLaboklab(50.62% -0.0176 -0.159)
OKLCHoklch(50.62% 0.16 263.7)
XYZxyz(14.7686, 12.4692, 50.9086)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335EBF #BF9433
analogous
#33A4BF #335EBF #4E33BF
triadic
#335EBF #BF335E #5EBF33
tetradic
#335EBF #BF33A4 #BF9433 #33BF4E
square
#335EBF #BF33A4 #BF9433 #33BF4E
split-complementary
#335EBF #BF4E33 #A4BF33
monochromatic
#192E5E #26468F #335EBF #5C81D3 #8CA6E0

Accessibility & contrast

On white

6.01
#335EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#335EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335EBF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335EBF#FFFFFF#000000##FFFFFF
##335EBF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC2
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #335ebf;
/* rgb */ color: rgb(51, 94, 191);
/* oklch */ color: oklch(50.6% 0.160 263.7);
Tailwind
colors: {
  custom: {
    50: '#7d8bd3',
    500: '#335ebf',
    950: '#000000',
  },
}
SCSS
$custom: #335ebf;
$custom-light: #7d8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#335ebf",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 221.571,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5062,
    "c": 0.15998,
    "h": 263.7
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

primary
#335EBF
secondary
#CBB583
accent
#B247E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #335EBF

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

Preview Lab → · Contrast checker → · Palette generator →

#335EBF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva