#3255B1#3255B1

#3255B1 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.152 H 265.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3255B1
RGBrgb(50, 85, 177)
HSLhsl(223, 56%, 45%)
HSVhsv(223, 72%, 69%)
CMYKcmyk(71.8%, 52%, 0%, 30.6%)
CIE-LABlab(38.46, 19.51, -52.75)
CIE-LCHlch(38.46, 56.24, 290.29°)
OKLaboklab(47.64% -0.0124 -0.1516)
OKLCHoklch(47.64% 0.152 265.3)
XYZxyz(12.4969, 10.3481, 42.9252)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255B1 #B18E32
analogous
#3294B1 #3255B1 #4F32B1
triadic
#3255B1 #B13255 #55B132
tetradic
#3255B1 #B13294 #B18E32 #32B14F
square
#3255B1 #B13294 #B18E32 #32B14F
split-complementary
#3255B1 #B14F32 #94B132
monochromatic
#172752 #253E81 #3255B1 #5274CE #829BDC

Accessibility & contrast

On white

6.84
#3255B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3255B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255B1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255B1#FFFFFF#000000##FFFFFF
##3255B11.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B4
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3255b1;
/* rgb */ color: rgb(50, 85, 177);
/* oklch */ color: oklch(47.6% 0.152 265.3);
Tailwind
colors: {
  custom: {
    50: '#7a84c9',
    500: '#3255b1',
    950: '#000000',
  },
}
SCSS
$custom: #3255b1;
$custom-light: #7a84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3255b1",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 177
  },
  "hsl": {
    "h": 223.465,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47644,
    "c": 0.15216,
    "h": 265.3
  },
  "luminance": 0.10349
}

Semantic roles & 50–950 ramp

primary
#3255B1
secondary
#C5B07A
accent
#B649DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3255B1

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

Preview Lab → · Contrast checker → · Palette generator →

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