#2A59B8#2A59B8

#2A59B8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.159 H 262.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2A59B8
RGBrgb(42, 89, 184)
HSLhsl(220, 63%, 44%)
HSVhsv(220, 77%, 72%)
CMYKcmyk(77.2%, 51.6%, 0%, 27.8%)
CIE-LABlab(39.74, 18.50, -54.81)
CIE-LCHlch(39.74, 57.85, 288.65°)
OKLaboklab(48.69% -0.0212 -0.1578)
OKLCHoklch(48.69% 0.159 262.4)
XYZxyz(13.1758, 11.0962, 46.7855)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59B8 #B8892A
analogous
#2AA0B8 #2A59B8 #422AB8
triadic
#2A59B8 #B82A59 #59B82A
tetradic
#2A59B8 #B82AA0 #B8892A #2AB842
square
#2A59B8 #B82AA0 #B8892A #2AB842
split-complementary
#2A59B8 #B8422A #A0B82A
monochromatic
#132954 #1F4186 #2A59B8 #4A78D6 #7B9DE1

Accessibility & contrast

On white

6.52
#2A59B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2A59B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59B8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59B8#FFFFFF#000000##FFFFFF
##2A59B81.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A64BB
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a59b8;
/* rgb */ color: rgb(42, 89, 184);
/* oklch */ color: oklch(48.7% 0.159 262.4);
Tailwind
colors: {
  custom: {
    50: '#7987ce',
    500: '#2a59b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a59b8;
$custom-light: #7987ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59b8",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 184
  },
  "hsl": {
    "h": 220.141,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.15919,
    "h": 262.4
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#2A59B8
secondary
#C9AD75
accent
#B042E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2A59B8

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

Preview Lab → · Contrast checker → · Palette generator →

#2A59B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva