#2555B5#2555B5

#2555B5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.161 H 262.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2555B5
RGBrgb(37, 85, 181)
HSLhsl(220, 66%, 43%)
HSVhsv(220, 80%, 71%)
CMYKcmyk(79.6%, 53%, 0%, 29%)
CIE-LABlab(38.24, 19.43, -55.49)
CIE-LCHlch(38.24, 58.79, 289.30°)
OKLaboklab(47.43% -0.0219 -0.1599)
OKLCHoklch(47.43% 0.161 262.2)
XYZxyz(12.3489, 10.2251, 45.0299)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555B5 #B58525
analogous
#259DB5 #2555B5 #3D25B5
triadic
#2555B5 #B52555 #55B525
tetradic
#2555B5 #B5259D #B58525 #25B53D
square
#2555B5 #B5259D #B58525 #25B53D
split-complementary
#2555B5 #B53D25 #9DB525
monochromatic
#10254F #1B3D82 #2555B5 #3F72D8 #7298E2

Accessibility & contrast

On white

6.90
#2555B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2555B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2555B5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555B5#FFFFFF#000000##FFFFFF
##2555B51.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C61B8
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2555b5;
/* rgb */ color: rgb(37, 85, 181);
/* oklch */ color: oklch(47.4% 0.161 262.2);
Tailwind
colors: {
  custom: {
    50: '#7784cc',
    500: '#2555b5',
    950: '#000000',
  },
}
SCSS
$custom: #2555b5;
$custom-light: #7784cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2555b5",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 181
  },
  "hsl": {
    "h": 220,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47431,
    "c": 0.16141,
    "h": 262.2
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#2555B5
secondary
#C9AA6D
accent
#B03FE9
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2555B5

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

Preview Lab → · Contrast checker → · Palette generator →

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