#2559B2#2559B2

#2559B2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.152 H 260.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2559B2
RGBrgb(37, 89, 178)
HSLhsl(218, 66%, 42%)
HSVhsv(218, 79%, 70%)
CMYKcmyk(79.2%, 50%, 0%, 30.2%)
CIE-LABlab(39.16, 15.62, -52.24)
CIE-LCHlch(39.16, 54.53, 286.65°)
OKLaboklab(48.06% -0.0253 -0.1503)
OKLCHoklch(48.06% 0.152 260.4)
XYZxyz(12.3683, 10.7510, 43.5341)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559B2 #B27E25
analogous
#25A0B2 #2559B2 #3725B2
triadic
#2559B2 #B22559 #59B225
tetradic
#2559B2 #B225A0 #B27E25 #25B237
square
#2559B2 #B225A0 #B27E25 #25B237
split-complementary
#2559B2 #B23725 #A0B225
monochromatic
#10264D #1A407F #2559B2 #3D76D7 #709AE1

Accessibility & contrast

On white

6.67
#2559B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2559B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2559B2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2559B2#FFFFFF#000000##FFFFFF
##2559B21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2559b2;
/* rgb */ color: rgb(37, 89, 178);
/* oklch */ color: oklch(48.1% 0.152 260.4);
Tailwind
colors: {
  custom: {
    50: '#7687ca',
    500: '#2559b2',
    950: '#000000',
  },
}
SCSS
$custom: #2559b2;
$custom-light: #7687ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2559b2",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 217.872,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48061,
    "c": 0.15241,
    "h": 260.4
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#2559B2
secondary
#C8A66B
accent
#AA3FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2559B2

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

Preview Lab → · Contrast checker → · Palette generator →

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