#3255AB#3255AB

#3255AB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.144 H 264.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#3255AB
RGBrgb(50, 85, 171)
HSLhsl(223, 55%, 43%)
HSVhsv(223, 71%, 67%)
CMYKcmyk(70.8%, 50.3%, 0%, 32.9%)
CIE-LABlab(38.05, 17.26, -49.87)
CIE-LCHlch(38.05, 52.77, 289.09°)
OKLaboklab(47.2% -0.0131 -0.1432)
OKLCHoklch(47.2% 0.144 264.8)
XYZxyz(11.9120, 10.1142, 39.8446)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255AB #AB8832
analogous
#3291AB #3255AB #4C32AB
triadic
#3255AB #AB3255 #55AB32
tetradic
#3255AB #AB3291 #AB8832 #32AB4C
square
#3255AB #AB3291 #AB8832 #32AB4C
split-complementary
#3255AB #AB4C32 #91AB32
monochromatic
#16264C #243D7C #3255AB #4F73CB #7E98D9

Accessibility & contrast

On white

6.95
#3255AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3255AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255AB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255AB#FFFFFF#000000##FFFFFF
##3255AB1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3255ab;
/* rgb */ color: rgb(50, 85, 171);
/* oklch */ color: oklch(47.2% 0.144 264.8);
Tailwind
colors: {
  custom: {
    50: '#7984c5',
    500: '#3255ab',
    950: '#000000',
  },
}
SCSS
$custom: #3255ab;
$custom-light: #7984c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3255ab",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 222.645,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47198,
    "c": 0.14377,
    "h": 264.8
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#3255AB
secondary
#C2AC77
accent
#B34ADE
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3255AB

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

Preview Lab → · Contrast checker → · Palette generator →

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