#3255AA#3255AA

#3255AA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.142 H 264.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#3255AA
RGBrgb(50, 85, 170)
HSLhsl(223, 55%, 43%)
HSVhsv(223, 71%, 67%)
CMYKcmyk(70.6%, 50%, 0%, 33.3%)
CIE-LABlab(37.98, 16.88, -49.39)
CIE-LCHlch(37.98, 52.19, 288.87°)
OKLaboklab(47.13% -0.0132 -0.1417)
OKLCHoklch(47.13% 0.142 264.7)
XYZxyz(11.8170, 10.0762, 39.3445)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255AA #AA8732
analogous
#3291AA #3255AA #4B32AA
triadic
#3255AA #AA3255 #55AA32
tetradic
#3255AA #AA3291 #AA8732 #32AA4B
square
#3255AA #AA3291 #AA8732 #32AA4B
split-complementary
#3255AA #AA4B32 #91AA32
monochromatic
#16264B #243D7B #3255AA #4E73CB #7D98D9

Accessibility & contrast

On white

6.96
#3255AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3255AA#FFFFFF#000000##FFFFFF
##3255AA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3255aa;
/* rgb */ color: rgb(50, 85, 170);
/* oklch */ color: oklch(47.1% 0.142 264.7);
Tailwind
colors: {
  custom: {
    50: '#7984c4',
    500: '#3255aa',
    950: '#000000',
  },
}
SCSS
$custom: #3255aa;
$custom-light: #7984c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3255aa",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 222.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47125,
    "c": 0.14237,
    "h": 264.7
  },
  "luminance": 0.10077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3255AA

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

Preview Lab → · Contrast checker → · Palette generator →

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