#2555A2#2555A2

#2555A2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.135 H 259.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2555A2
RGBrgb(37, 85, 162)
HSLhsl(217, 63%, 39%)
HSVhsv(217, 77%, 64%)
CMYKcmyk(77.2%, 47.5%, 0%, 36.5%)
CIE-LABlab(36.93, 12.02, -46.34)
CIE-LCHlch(36.93, 47.88, 284.54°)
OKLaboklab(46% -0.0245 -0.133)
OKLCHoklch(46% 0.135 259.5)
XYZxyz(10.5307, 9.4977, 35.4537)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555A2 #A27225
analogous
#2594A2 #2555A2 #3425A2
triadic
#2555A2 #A22555 #55A225
tetradic
#2555A2 #A22594 #A27225 #25A234
square
#2555A2 #A22594 #A27225 #25A234
split-complementary
#2555A2 #A23425 #94A225
monochromatic
#0E213E #1A3B70 #2555A2 #3470D1 #6593DC

Accessibility & contrast

On white

7.24
#2555A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2555A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2555A2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555A2#FFFFFF#000000##FFFFFF
##2555A21.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#0952A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2555a2;
/* rgb */ color: rgb(37, 85, 162);
/* oklch */ color: oklch(46.0% 0.135 259.5);
Tailwind
colors: {
  custom: {
    50: '#7284be',
    500: '#2555a2',
    950: '#000000',
  },
}
SCSS
$custom: #2555a2;
$custom-light: #7284be;
$custom-dark: #000000;
JSON
{
  "hex": "#2555a2",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 216.96,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.13525,
    "h": 259.5
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#2555A2
secondary
#C29D61
accent
#A742E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2555A2

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

Preview Lab → · Contrast checker → · Palette generator →

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