#2555A3#2555A3

#2555A3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.137 H 259.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2555A3
RGBrgb(37, 85, 163)
HSLhsl(217, 63%, 39%)
HSVhsv(217, 77%, 64%)
CMYKcmyk(77.3%, 47.9%, 0%, 36.1%)
CIE-LABlab(36.99, 12.41, -46.83)
CIE-LCHlch(36.99, 48.45, 284.84°)
OKLaboklab(46.08% -0.0244 -0.1344)
OKLCHoklch(46.08% 0.137 259.7)
XYZxyz(10.6199, 9.5334, 35.9237)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555A3 #A37325
analogous
#2594A3 #2555A3 #3425A3
triadic
#2555A3 #A32555 #55A325
tetradic
#2555A3 #A32594 #A37325 #25A334
square
#2555A3 #A32594 #A37325 #25A334
split-complementary
#2555A3 #A33425 #94A325
monochromatic
#0E213F #1A3B71 #2555A3 #3470D1 #6693DC

Accessibility & contrast

On white

7.22
#2555A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2555A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2555A3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555A3#FFFFFF#000000##FFFFFF
##2555A31.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#0552A1
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2555a3;
/* rgb */ color: rgb(37, 85, 163);
/* oklch */ color: oklch(46.1% 0.137 259.7);
Tailwind
colors: {
  custom: {
    50: '#7284bf',
    500: '#2555a3',
    950: '#000000',
  },
}
SCSS
$custom: #2555a3;
$custom-light: #7284bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2555a3",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 163
  },
  "hsl": {
    "h": 217.143,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46075,
    "c": 0.13664,
    "h": 259.7
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#2555A3
secondary
#C29D62
accent
#A742E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2555A3

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

Preview Lab → · Contrast checker → · Palette generator →

#2555A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva