#2555B1#2555B1

#2555B1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.156 H 261.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2555B1
RGBrgb(37, 85, 177)
HSLhsl(219, 65%, 42%)
HSVhsv(219, 79%, 69%)
CMYKcmyk(79.1%, 52%, 0%, 30.6%)
CIE-LABlab(37.96, 17.88, -53.59)
CIE-LCHlch(37.96, 56.50, 288.45°)
OKLaboklab(47.12% -0.0224 -0.1543)
OKLCHoklch(47.12% 0.156 261.7)
XYZxyz(11.9444, 10.0632, 42.8993)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555B1 #B18125
analogous
#259BB1 #2555B1 #3B25B1
triadic
#2555B1 #B12555 #55B125
tetradic
#2555B1 #B1259B #B18125 #25B13B
square
#2555B1 #B1259B #B18125 #25B13B
split-complementary
#2555B1 #B13B25 #9BB125
monochromatic
#10244C #1A3D7E #2555B1 #3D71D6 #6F96E1

Accessibility & contrast

On white

6.97
#2555B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2555B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2555B1
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555B1#FFFFFF#000000##FFFFFF
##2555B11.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1760B4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2555b1;
/* rgb */ color: rgb(37, 85, 177);
/* oklch */ color: oklch(47.1% 0.156 261.7);
Tailwind
colors: {
  custom: {
    50: '#7684c9',
    500: '#2555b1',
    950: '#000000',
  },
}
SCSS
$custom: #2555b1;
$custom-light: #7684c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2555b1",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 177
  },
  "hsl": {
    "h": 219.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4712,
    "c": 0.15596,
    "h": 261.7
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#2555B1
secondary
#C8A86A
accent
#AE3FE8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2555B1

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

Preview Lab → · Contrast checker → · Palette generator →

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