#2A59B1#2A59B1

#2A59B1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.150 H 261.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2A59B1
RGBrgb(42, 89, 177)
HSLhsl(219, 62%, 43%)
HSVhsv(219, 76%, 69%)
CMYKcmyk(76.3%, 49.7%, 0%, 30.6%)
CIE-LABlab(39.26, 15.82, -51.48)
CIE-LCHlch(39.26, 53.85, 287.08°)
OKLaboklab(48.16% -0.0221 -0.148)
OKLCHoklch(48.16% 0.15 261.5)
XYZxyz(12.4602, 10.8099, 43.0163)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59B1 #B1822A
analogous
#2A9CB1 #2A59B1 #3E2AB1
triadic
#2A59B1 #B12A59 #59B12A
tetradic
#2A59B1 #B12A9C #B1822A #2AB13E
square
#2A59B1 #B12A9C #B1822A #2AB13E
split-complementary
#2A59B1 #B13E2A #9CB12A
monochromatic
#13274E #1E4080 #2A59B1 #4577D3 #779BDF

Accessibility & contrast

On white

6.64
#2A59B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2A59B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59B1
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59B1#FFFFFF#000000##FFFFFF
##2A59B11.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a59b1;
/* rgb */ color: rgb(42, 89, 177);
/* oklch */ color: oklch(48.2% 0.150 261.5);
Tailwind
colors: {
  custom: {
    50: '#7787c9',
    500: '#2a59b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a59b1;
$custom-light: #7787c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59b1",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 177
  },
  "hsl": {
    "h": 219.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48164,
    "c": 0.14962,
    "h": 261.5
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#2A59B1
secondary
#C6A870
accent
#AC43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A59B1

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

Preview Lab → · Contrast checker → · Palette generator →

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