#2A59BC#2A59BC

#2A59BC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.165 H 262.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2A59BC
RGBrgb(42, 89, 188)
HSLhsl(221, 63%, 45%)
HSVhsv(221, 78%, 74%)
CMYKcmyk(77.7%, 52.7%, 0%, 26.3%)
CIE-LABlab(40.03, 20.04, -56.70)
CIE-LCHlch(40.03, 60.13, 289.46°)
OKLaboklab(48.99% -0.0207 -0.1633)
OKLCHoklch(48.99% 0.165 262.8)
XYZxyz(13.6011, 11.2663, 49.0250)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59BC #BC8D2A
analogous
#2AA2BC #2A59BC #442ABC
triadic
#2A59BC #BC2A59 #59BC2A
tetradic
#2A59BC #BC2AA2 #BC8D2A #2ABC44
square
#2A59BC #BC2AA2 #BC8D2A #2ABC44
split-complementary
#2A59BC #BC442A #A2BC2A
monochromatic
#142A58 #1F418A #2A59BC #4C79D7 #7E9EE2

Accessibility & contrast

On white

6.45
#2A59BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2A59BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59BC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59BC#FFFFFF#000000##FFFFFF
##2A59BC1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1165C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a59bc;
/* rgb */ color: rgb(42, 89, 188);
/* oklch */ color: oklch(49.0% 0.165 262.8);
Tailwind
colors: {
  custom: {
    50: '#7a87d1',
    500: '#2a59bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a59bc;
$custom-light: #7a87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59bc",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 220.685,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48992,
    "c": 0.16463,
    "h": 262.8
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#2A59BC
secondary
#CBB077
accent
#B141E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2A59BC

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

Preview Lab → · Contrast checker → · Palette generator →

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