#3255AC#3255AC

#3255AC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.145 H 264.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3255AC
RGBrgb(50, 85, 172)
HSLhsl(223, 55%, 44%)
HSVhsv(223, 71%, 67%)
CMYKcmyk(70.9%, 50.6%, 0%, 32.5%)
CIE-LABlab(38.11, 17.63, -50.35)
CIE-LCHlch(38.11, 53.35, 289.30°)
OKLaboklab(47.27% -0.013 -0.1446)
OKLCHoklch(47.27% 0.145 264.9)
XYZxyz(12.0077, 10.1524, 40.3485)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255AC #AC8932
analogous
#3292AC #3255AC #4C32AC
triadic
#3255AC #AC3255 #55AC32
tetradic
#3255AC #AC3292 #AC8932 #32AC4C
square
#3255AC #AC3292 #AC8932 #32AC4C
split-complementary
#3255AC #AC4C32 #92AC32
monochromatic
#16264D #243E7D #3255AC #4F73CC #7F99DA

Accessibility & contrast

On white

6.93
#3255AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3255AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255AC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255AC#FFFFFF#000000##FFFFFF
##3255AC1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3255ac;
/* rgb */ color: rgb(50, 85, 172);
/* oklch */ color: oklch(47.3% 0.145 264.9);
Tailwind
colors: {
  custom: {
    50: '#7984c5',
    500: '#3255ac',
    950: '#000000',
  },
}
SCSS
$custom: #3255ac;
$custom-light: #7984c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3255ac",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 222.787,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47271,
    "c": 0.14517,
    "h": 264.9
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#3255AC
secondary
#C3AD77
accent
#B44ADE
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3255AC

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

Preview Lab → · Contrast checker → · Palette generator →

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