#2555A4#2555A4

#2555A4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.1% C 0.138 H 259.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2555A4
RGBrgb(37, 85, 164)
HSLhsl(217, 63%, 39%)
HSVhsv(217, 77%, 64%)
CMYKcmyk(77.4%, 48.2%, 0%, 35.7%)
CIE-LABlab(37.06, 12.80, -47.32)
CIE-LCHlch(37.06, 49.02, 285.14°)
OKLaboklab(46.15% -0.0242 -0.1359)
OKLCHoklch(46.15% 0.138 259.9)
XYZxyz(10.7099, 9.5694, 36.3974)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555A4 #A47425
analogous
#2595A4 #2555A4 #3525A4
triadic
#2555A4 #A42555 #55A425
tetradic
#2555A4 #A42595 #A47425 #25A435
square
#2555A4 #A42595 #A47425 #25A435
split-complementary
#2555A4 #A43525 #95A425
monochromatic
#0E2140 #1A3B72 #2555A4 #3570D1 #6793DD

Accessibility & contrast

On white

7.21
#2555A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2555A4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555A4#FFFFFF#000000##FFFFFF
##2555A41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA7
Deuteranopia (green-blind)
#0152A2
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2555a4;
/* rgb */ color: rgb(37, 85, 164);
/* oklch */ color: oklch(46.1% 0.138 259.9);
Tailwind
colors: {
  custom: {
    50: '#7384bf',
    500: '#2555a4',
    950: '#000000',
  },
}
SCSS
$custom: #2555a4;
$custom-light: #7384bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2555a4",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 164
  },
  "hsl": {
    "h": 217.323,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46147,
    "c": 0.13804,
    "h": 259.9
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#2555A4
secondary
#C29E62
accent
#A842E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2555A4

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

Preview Lab → · Contrast checker → · Palette generator →

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