#2A59B9#2A59B9

#2A59B9 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.161 H 262.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2A59B9
RGBrgb(42, 89, 185)
HSLhsl(220, 63%, 45%)
HSVhsv(220, 77%, 73%)
CMYKcmyk(77.3%, 51.9%, 0%, 27.5%)
CIE-LABlab(39.81, 18.89, -55.29)
CIE-LCHlch(39.81, 58.42, 288.86°)
OKLaboklab(48.76% -0.021 -0.1592)
OKLCHoklch(48.76% 0.161 262.5)
XYZxyz(13.2810, 11.1383, 47.3395)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59B9 #B98A2A
analogous
#2AA1B9 #2A59B9 #432AB9
triadic
#2A59B9 #B92A59 #59B92A
tetradic
#2A59B9 #B92AA1 #B98A2A #2AB943
square
#2A59B9 #B92AA1 #B98A2A #2AB943
split-complementary
#2A59B9 #B9432A #A1B92A
monochromatic
#132955 #1F4187 #2A59B9 #4A78D6 #7C9DE1

Accessibility & contrast

On white

6.51
#2A59B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2A59B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59B9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59B9#FFFFFF#000000##FFFFFF
##2A59B91.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BC
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a59b9;
/* rgb */ color: rgb(42, 89, 185);
/* oklch */ color: oklch(48.8% 0.161 262.5);
Tailwind
colors: {
  custom: {
    50: '#7987cf',
    500: '#2a59b9',
    950: '#000000',
  },
}
SCSS
$custom: #2a59b9;
$custom-light: #7987cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59b9",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 185
  },
  "hsl": {
    "h": 220.28,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48763,
    "c": 0.16056,
    "h": 262.5
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A59B9

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

Preview Lab → · Contrast checker → · Palette generator →

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