#2555A6#2555A6

#2555A6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.141 H 260.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2555A6
RGBrgb(37, 85, 166)
HSLhsl(218, 64%, 40%)
HSVhsv(218, 78%, 65%)
CMYKcmyk(77.7%, 48.8%, 0%, 34.9%)
CIE-LABlab(37.19, 13.58, -48.30)
CIE-LCHlch(37.19, 50.17, 285.71°)
OKLaboklab(46.29% -0.0239 -0.1388)
OKLCHoklch(46.29% 0.141 260.2)
XYZxyz(10.8919, 9.6422, 37.3561)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555A6 #A67625
analogous
#2596A6 #2555A6 #3525A6
triadic
#2555A6 #A62555 #55A625
tetradic
#2555A6 #A62596 #A67625 #25A635
square
#2555A6 #A62596 #A67625 #25A635
split-complementary
#2555A6 #A63525 #96A625
monochromatic
#0F2242 #1A3B74 #2555A6 #3670D2 #6894DD

Accessibility & contrast

On white

7.17
#2555A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2555A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2555A6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555A6#FFFFFF#000000##FFFFFF
##2555A61.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275EA9
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2555a6;
/* rgb */ color: rgb(37, 85, 166);
/* oklch */ color: oklch(46.3% 0.141 260.2);
Tailwind
colors: {
  custom: {
    50: '#7384c1',
    500: '#2555a6',
    950: '#000000',
  },
}
SCSS
$custom: #2555a6;
$custom-light: #7384c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2555a6",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 166
  },
  "hsl": {
    "h": 217.674,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46293,
    "c": 0.14081,
    "h": 260.2
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#2555A6
secondary
#C3A064
accent
#A941E7
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2555A6

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

Preview Lab → · Contrast checker → · Palette generator →

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