#2C59A2#2C59A2

#2C59A2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.128 H 259.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2C59A2
RGBrgb(44, 89, 162)
HSLhsl(217, 57%, 40%)
HSVhsv(217, 73%, 64%)
CMYKcmyk(72.8%, 45.1%, 0%, 36.5%)
CIE-LABlab(38.35, 10.34, -44.04)
CIE-LCHlch(38.35, 45.23, 283.21°)
OKLaboklab(47.18% -0.023 -0.126)
OKLCHoklch(47.18% 0.128 259.6)
XYZxyz(11.1303, 10.2877, 35.5745)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C59A2 #A2752C
analogous
#2C94A2 #2C59A2 #3A2CA2
triadic
#2C59A2 #A22C59 #59A22C
tetradic
#2C59A2 #A22C94 #A2752C #2CA23A
square
#2C59A2 #A22C94 #A2752C #2CA23A
split-complementary
#2C59A2 #A23A2C #94A22C
monochromatic
#122442 #1F3F72 #2C59A2 #4075CB #7098D8

Accessibility & contrast

On white

6.87
#2C59A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2C59A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C59A2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C59A2#FFFFFF#000000##FFFFFF
##2C59A21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#1E55A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c59a2;
/* rgb */ color: rgb(44, 89, 162);
/* oklch */ color: oklch(47.2% 0.128 259.6);
Tailwind
colors: {
  custom: {
    50: '#7587be',
    500: '#2c59a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c59a2;
$custom-light: #7587be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c59a2",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 217.119,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47175,
    "c": 0.12813,
    "h": 259.6
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#2C59A2
secondary
#BF9F6A
accent
#A647E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C59A2

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

Preview Lab → · Contrast checker → · Palette generator →

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