#3255AF#3255AF

#3255AF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.149 H 265.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3255AF
RGBrgb(50, 85, 175)
HSLhsl(223, 56%, 44%)
HSVhsv(223, 71%, 69%)
CMYKcmyk(71.4%, 51.4%, 0%, 31.4%)
CIE-LABlab(38.32, 18.76, -51.80)
CIE-LCHlch(38.32, 55.09, 289.91°)
OKLaboklab(47.49% -0.0126 -0.1488)
OKLCHoklch(47.49% 0.149 265.2)
XYZxyz(12.2990, 10.2690, 41.8831)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255AF #AF8C32
analogous
#3294AF #3255AF #4E32AF
triadic
#3255AF #AF3255 #55AF32
tetradic
#3255AF #AF3294 #AF8C32 #32AF4E
square
#3255AF #AF3294 #AF8C32 #32AF4E
split-complementary
#3255AF #AF4E32 #94AF32
monochromatic
#172750 #243E7F #3255AF #5174CD #819ADB

Accessibility & contrast

On white

6.88
#3255AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3255AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3255AF#FFFFFF#000000##FFFFFF
##3255AF1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3255af;
/* rgb */ color: rgb(50, 85, 175);
/* oklch */ color: oklch(47.5% 0.149 265.2);
Tailwind
colors: {
  custom: {
    50: '#7a84c7',
    500: '#3255af',
    950: '#000000',
  },
}
SCSS
$custom: #3255af;
$custom-light: #7a84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3255af",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 223.2,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47494,
    "c": 0.14937,
    "h": 265.2
  },
  "luminance": 0.1027
}

Semantic roles & 50–950 ramp

primary
#3255AF
secondary
#C4AF79
accent
#B549DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3255AF

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

Preview Lab → · Contrast checker → · Palette generator →

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