#2C59A1#2C59A1

#2C59A1 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.1% C 0.127 H 259.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2C59A1
RGBrgb(44, 89, 161)
HSLhsl(217, 57%, 40%)
HSVhsv(217, 73%, 63%)
CMYKcmyk(72.7%, 44.7%, 0%, 36.9%)
CIE-LABlab(38.29, 9.96, -43.54)
CIE-LCHlch(38.29, 44.66, 282.88°)
OKLaboklab(47.11% -0.0232 -0.1246)
OKLCHoklch(47.11% 0.127 259.4)
XYZxyz(11.0418, 10.2523, 35.1083)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C59A1 #A1742C
analogous
#2C93A1 #2C59A1 #392CA1
triadic
#2C59A1 #A12C59 #59A12C
tetradic
#2C59A1 #A12C93 #A1742C #2CA139
square
#2C59A1 #A12C93 #A1742C #2CA139
split-complementary
#2C59A1 #A1392C #93A12C
monochromatic
#122441 #1F3E71 #2C59A1 #4075CB #7098D8

Accessibility & contrast

On white

6.88
#2C59A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2C59A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C59A1
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C59A1#FFFFFF#000000##FFFFFF
##2C59A11.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A4
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c59a1;
/* rgb */ color: rgb(44, 89, 161);
/* oklch */ color: oklch(47.1% 0.127 259.4);
Tailwind
colors: {
  custom: {
    50: '#7487bd',
    500: '#2c59a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c59a1;
$custom-light: #7487bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c59a1",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 161
  },
  "hsl": {
    "h": 216.923,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47107,
    "c": 0.12673,
    "h": 259.4
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#2C59A1
secondary
#BF9E6A
accent
#A647E0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C59A1

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

Preview Lab → · Contrast checker → · Palette generator →

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