#2A59B7#2A59B7

#2A59B7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.158 H 262.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2A59B7
RGBrgb(42, 89, 183)
HSLhsl(220, 63%, 44%)
HSVhsv(220, 77%, 72%)
CMYKcmyk(77%, 51.4%, 0%, 28.2%)
CIE-LABlab(39.67, 18.12, -54.34)
CIE-LCHlch(39.67, 57.28, 288.44°)
OKLaboklab(48.61% -0.0213 -0.1564)
OKLCHoklch(48.61% 0.158 262.2)
XYZxyz(13.0714, 11.0544, 46.2354)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59B7 #B7882A
analogous
#2AA0B7 #2A59B7 #422AB7
triadic
#2A59B7 #B72A59 #59B72A
tetradic
#2A59B7 #B72AA0 #B7882A #2AB742
square
#2A59B7 #B72AA0 #B7882A #2AB742
split-complementary
#2A59B7 #B7422A #A0B72A
monochromatic
#132953 #1F4185 #2A59B7 #4978D5 #7B9DE1

Accessibility & contrast

On white

6.54
#2A59B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2A59B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59B7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59B7#FFFFFF#000000##FFFFFF
##2A59B71.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C64BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a59b7;
/* rgb */ color: rgb(42, 89, 183);
/* oklch */ color: oklch(48.6% 0.158 262.2);
Tailwind
colors: {
  custom: {
    50: '#7887cd',
    500: '#2a59b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a59b7;
$custom-light: #7887cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59b7",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 183
  },
  "hsl": {
    "h": 220,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48611,
    "c": 0.15783,
    "h": 262.2
  },
  "luminance": 0.11056
}

Semantic roles & 50–950 ramp

primary
#2A59B7
secondary
#C9AD74
accent
#AF42E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A59B7

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

Preview Lab → · Contrast checker → · Palette generator →

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