#2C59AB#2C59AB

#2C59AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.141 H 261.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2C59AB
RGBrgb(44, 89, 171)
HSLhsl(219, 59%, 42%)
HSVhsv(219, 74%, 67%)
CMYKcmyk(74.3%, 48%, 0%, 32.9%)
CIE-LABlab(38.93, 13.77, -48.46)
CIE-LCHlch(38.93, 50.38, 285.87°)
OKLaboklab(47.81% -0.0215 -0.139)
OKLCHoklch(47.81% 0.141 261.2)
XYZxyz(11.9591, 10.6192, 39.9396)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C59AB #AB7E2C
analogous
#2C99AB #2C59AB #3E2CAB
triadic
#2C59AB #AB2C59 #59AB2C
tetradic
#2C59AB #AB2C99 #AB7E2C #2CAB3E
square
#2C59AB #AB2C99 #AB7E2C #2CAB3E
split-complementary
#2C59AB #AB3E2C #99AB2C
monochromatic
#13264A #1F407A #2C59AB #4576CF #769ADC

Accessibility & contrast

On white

6.72
#2C59AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2C59AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C59AB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C59AB#FFFFFF#000000##FFFFFF
##2C59AB1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AE
Deuteranopia (green-blind)
#0856A9
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c59ab;
/* rgb */ color: rgb(44, 89, 171);
/* oklch */ color: oklch(47.8% 0.141 261.2);
Tailwind
colors: {
  custom: {
    50: '#7687c4',
    500: '#2c59ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c59ab;
$custom-light: #7687c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c59ab",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 171
  },
  "hsl": {
    "h": 218.74,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.1407,
    "h": 261.2
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

primary
#2C59AB
secondary
#C3A66F
accent
#AB46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C59AB

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

Preview Lab → · Contrast checker → · Palette generator →

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