#2559B3#2559B3

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

Color values

HEX#2559B3
RGBrgb(37, 89, 179)
HSLhsl(218, 66%, 42%)
HSVhsv(218, 79%, 70%)
CMYKcmyk(79.3%, 50.3%, 0%, 29.8%)
CIE-LABlab(39.23, 16.01, -52.72)
CIE-LCHlch(39.23, 55.10, 286.90°)
OKLaboklab(48.14% -0.0252 -0.1517)
OKLCHoklch(48.14% 0.154 260.6)
XYZxyz(12.4691, 10.7913, 44.0648)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559B3 #B37F25
analogous
#25A0B3 #2559B3 #3825B3
triadic
#2559B3 #B32559 #59B325
tetradic
#2559B3 #B325A0 #B37F25 #25B338
square
#2559B3 #B325A0 #B37F25 #25B338
split-complementary
#2559B3 #B33825 #A0B325
monochromatic
#10274E #1B4080 #2559B3 #3E76D7 #719AE2

Accessibility & contrast

On white

6.65
#2559B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2559B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2559B3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2559B3#FFFFFF#000000##FFFFFF
##2559B31.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2559b3;
/* rgb */ color: rgb(37, 89, 179);
/* oklch */ color: oklch(48.1% 0.154 260.6);
Tailwind
colors: {
  custom: {
    50: '#7687ca',
    500: '#2559b3',
    950: '#000000',
  },
}
SCSS
$custom: #2559b3;
$custom-light: #7687ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2559b3",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 179
  },
  "hsl": {
    "h": 218.028,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.15377,
    "h": 260.6
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2559B3

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

Preview Lab → · Contrast checker → · Palette generator →

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