#2559AF#2559AF

#2559AF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.148 H 260.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2559AF
RGBrgb(37, 89, 175)
HSLhsl(217, 65%, 42%)
HSVhsv(217, 79%, 69%)
CMYKcmyk(78.9%, 49.1%, 0%, 31.4%)
CIE-LABlab(38.95, 14.45, -50.80)
CIE-LCHlch(38.95, 52.82, 285.88°)
OKLaboklab(47.84% -0.0258 -0.1461)
OKLCHoklch(47.84% 0.148 260)
XYZxyz(12.0704, 10.6318, 41.9651)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559AF #AF7B25
analogous
#259EAF #2559AF #3625AF
triadic
#2559AF #AF2559 #59AF25
tetradic
#2559AF #AF259E #AF7B25 #25AF36
square
#2559AF #AF259E #AF7B25 #25AF36
split-complementary
#2559AF #AF3625 #9EAF25
monochromatic
#10264A #1A3F7C #2559AF #3C76D6 #6E99E0

Accessibility & contrast

On white

6.72
#2559AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2559AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2559AF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2559AF#FFFFFF#000000##FFFFFF
##2559AF1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2559af;
/* rgb */ color: rgb(37, 89, 175);
/* oklch */ color: oklch(47.8% 0.148 260.0);
Tailwind
colors: {
  custom: {
    50: '#7587c7',
    500: '#2559af',
    950: '#000000',
  },
}
SCSS
$custom: #2559af;
$custom-light: #7587c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2559af",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 217.391,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47839,
    "c": 0.1483,
    "h": 260
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

primary
#2559AF
secondary
#C7A369
accent
#A940E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2559AF

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

Preview Lab → · Contrast checker → · Palette generator →

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