#2555A8#2555A8

#2555A8 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.144 H 260.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2555A8
RGBrgb(37, 85, 168)
HSLhsl(218, 64%, 40%)
HSVhsv(218, 78%, 66%)
CMYKcmyk(78%, 49.4%, 0%, 34.1%)
CIE-LABlab(37.33, 14.37, -49.27)
CIE-LCHlch(37.33, 51.32, 286.25°)
OKLaboklab(46.44% -0.0236 -0.1416)
OKLCHoklch(46.44% 0.144 260.5)
XYZxyz(11.0768, 9.7162, 38.3298)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555A8 #A87825
analogous
#2596A8 #2555A8 #3625A8
triadic
#2555A8 #A82555 #55A825
tetradic
#2555A8 #A82596 #A87825 #25A836
square
#2555A8 #A82596 #A87825 #25A836
split-complementary
#2555A8 #A83625 #96A825
monochromatic
#0F2244 #1A3C76 #2555A8 #3770D3 #6994DE

Accessibility & contrast

On white

7.13
#2555A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2555A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2555A8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555A8#FFFFFF#000000##FFFFFF
##2555A81.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2555a8;
/* rgb */ color: rgb(37, 85, 168);
/* oklch */ color: oklch(46.4% 0.144 260.5);
Tailwind
colors: {
  custom: {
    50: '#7484c2',
    500: '#2555a8',
    950: '#000000',
  },
}
SCSS
$custom: #2555a8;
$custom-light: #7484c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2555a8",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 168
  },
  "hsl": {
    "h": 218.015,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46441,
    "c": 0.14358,
    "h": 260.5
  },
  "luminance": 0.09717
}

Semantic roles & 50–950 ramp

primary
#2555A8
secondary
#C4A165
accent
#AA41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2555A8

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

Preview Lab → · Contrast checker → · Palette generator →

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