#2555A5#2555A5

#2555A5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.139 H 260.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2555A5
RGBrgb(37, 85, 165)
HSLhsl(218, 63%, 40%)
HSVhsv(218, 78%, 65%)
CMYKcmyk(77.6%, 48.5%, 0%, 35.3%)
CIE-LABlab(37.13, 13.19, -47.81)
CIE-LCHlch(37.13, 49.60, 285.42°)
OKLaboklab(46.22% -0.024 -0.1373)
OKLCHoklch(46.22% 0.139 260.1)
XYZxyz(10.8005, 9.6057, 36.8749)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555A5 #A57525
analogous
#2595A5 #2555A5 #3525A5
triadic
#2555A5 #A52555 #55A525
tetradic
#2555A5 #A52595 #A57525 #25A535
square
#2555A5 #A52595 #A57525 #25A535
split-complementary
#2555A5 #A53525 #95A525
monochromatic
#0F2141 #1A3B73 #2555A5 #3570D2 #6793DD

Accessibility & contrast

On white

7.19
#2555A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2555A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2555A5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555A5#FFFFFF#000000##FFFFFF
##2555A51.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA8
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2555a5;
/* rgb */ color: rgb(37, 85, 165);
/* oklch */ color: oklch(46.2% 0.139 260.1);
Tailwind
colors: {
  custom: {
    50: '#7384c0',
    500: '#2555a5',
    950: '#000000',
  },
}
SCSS
$custom: #2555a5;
$custom-light: #7384c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2555a5",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 165
  },
  "hsl": {
    "h": 217.5,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.13943,
    "h": 260.1
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#2555A5
secondary
#C39F63
accent
#A941E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2555A5

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

Preview Lab → · Contrast checker → · Palette generator →

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