#2555AB#2555AB

#2555AB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.148 H 261.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2555AB
RGBrgb(37, 85, 171)
HSLhsl(219, 64%, 41%)
HSVhsv(219, 78%, 67%)
CMYKcmyk(78.4%, 50.3%, 0%, 32.9%)
CIE-LABlab(37.53, 15.54, -50.72)
CIE-LCHlch(37.53, 53.05, 287.03°)
OKLaboklab(46.66% -0.0231 -0.1459)
OKLCHoklch(46.66% 0.148 261)
XYZxyz(11.3595, 9.8293, 39.8187)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555AB #AB7B25
analogous
#2598AB #2555AB #3825AB
triadic
#2555AB #AB2555 #55AB25
tetradic
#2555AB #AB2598 #AB7B25 #25AB38
square
#2555AB #AB2598 #AB7B25 #25AB38
split-complementary
#2555AB #AB3825 #98AB25
monochromatic
#0F2346 #1A3C79 #2555AB #3971D4 #6B95DF

Accessibility & contrast

On white

7.08
#2555AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2555AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2555AB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555AB#FFFFFF#000000##FFFFFF
##2555AB1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2555ab;
/* rgb */ color: rgb(37, 85, 171);
/* oklch */ color: oklch(46.7% 0.148 261.0);
Tailwind
colors: {
  custom: {
    50: '#7484c5',
    500: '#2555ab',
    950: '#000000',
  },
}
SCSS
$custom: #2555ab;
$custom-light: #7484c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2555ab",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 218.507,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46664,
    "c": 0.14773,
    "h": 261
  },
  "luminance": 0.09831
}

Semantic roles & 50–950 ramp

primary
#2555AB
secondary
#C5A367
accent
#AC40E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2555AB

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

Preview Lab → · Contrast checker → · Palette generator →

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