#2559A2#2559A2

#2559A2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.130 H 257.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2559A2
RGBrgb(37, 89, 162)
HSLhsl(215, 63%, 39%)
HSVhsv(215, 77%, 64%)
CMYKcmyk(77.2%, 45.1%, 0%, 36.5%)
CIE-LABlab(38.10, 9.38, -44.45)
CIE-LCHlch(38.10, 45.43, 281.92°)
OKLaboklab(46.91% -0.028 -0.1274)
OKLCHoklch(46.91% 0.13 257.6)
XYZxyz(10.8545, 10.1455, 35.5616)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559A2 #A26E25
analogous
#2598A2 #2559A2 #3025A2
triadic
#2559A2 #A22559 #59A225
tetradic
#2559A2 #A22598 #A26E25 #25A230
square
#2559A2 #A22598 #A26E25 #25A230
split-complementary
#2559A2 #A23025 #98A225
monochromatic
#0E223E #1A3E70 #2559A2 #3475D1 #6597DC

Accessibility & contrast

On white

6.93
#2559A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2559A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2559A2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2559A2#FFFFFF#000000##FFFFFF
##2559A21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#1A54A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2559a2;
/* rgb */ color: rgb(37, 89, 162);
/* oklch */ color: oklch(46.9% 0.130 257.6);
Tailwind
colors: {
  custom: {
    50: '#7287be',
    500: '#2559a2',
    950: '#000000',
  },
}
SCSS
$custom: #2559a2;
$custom-light: #7287be;
$custom-dark: #000000;
JSON
{
  "hex": "#2559a2",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 215.04,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4691,
    "c": 0.13041,
    "h": 257.6
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#2559A2
secondary
#C29961
accent
#A242E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2559A2

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

Preview Lab → · Contrast checker → · Palette generator →

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