#3255B7#3255B7

#3255B7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.160 H 265.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3255B7
RGBrgb(50, 85, 183)
HSLhsl(224, 57%, 46%)
HSVhsv(224, 73%, 72%)
CMYKcmyk(72.7%, 53.6%, 0%, 28.2%)
CIE-LABlab(38.89, 21.75, -55.60)
CIE-LCHlch(38.89, 59.70, 291.37°)
OKLaboklab(48.1% -0.0118 -0.16)
OKLCHoklch(48.1% 0.16 265.8)
XYZxyz(13.1081, 10.5926, 46.1443)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255B7 #B79432
analogous
#3297B7 #3255B7 #5232B7
triadic
#3255B7 #B73255 #55B732
tetradic
#3255B7 #B73297 #B79432 #32B752
square
#3255B7 #B73297 #B79432 #32B752
split-complementary
#3255B7 #B75232 #97B732
monochromatic
#182857 #253F87 #3255B7 #5676D1 #869DDE

Accessibility & contrast

On white

6.73
#3255B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3255B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255B7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255B7#FFFFFF#000000##FFFFFF
##3255B71.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B62BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3255b7;
/* rgb */ color: rgb(50, 85, 183);
/* oklch */ color: oklch(48.1% 0.160 265.8);
Tailwind
colors: {
  custom: {
    50: '#7c84cd',
    500: '#3255b7',
    950: '#000000',
  },
}
SCSS
$custom: #3255b7;
$custom-light: #7c84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3255b7",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 183
  },
  "hsl": {
    "h": 224.211,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.16046,
    "h": 265.8
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#3255B7
secondary
#C7B47D
accent
#B847E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3255B7

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

Preview Lab → · Contrast checker → · Palette generator →

#3255B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva