#2C59B8#2C59B8

#2C59B8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.159 H 262.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2C59B8
RGBrgb(44, 89, 184)
HSLhsl(221, 61%, 45%)
HSVhsv(221, 76%, 72%)
CMYKcmyk(76.1%, 51.6%, 0%, 27.8%)
CIE-LABlab(39.81, 18.74, -54.69)
CIE-LCHlch(39.81, 57.81, 288.91°)
OKLaboklab(48.76% -0.0197 -0.1574)
OKLCHoklch(48.76% 0.159 262.9)
XYZxyz(13.2597, 11.1394, 46.7894)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C59B8 #B88B2C
analogous
#2C9FB8 #2C59B8 #452CB8
triadic
#2C59B8 #B82C59 #59B82C
tetradic
#2C59B8 #B82C9F #B88B2C #2CB845
square
#2C59B8 #B82C9F #B88B2C #2CB845
split-complementary
#2C59B8 #B8452C #9FB82C
monochromatic
#142955 #204187 #2C59B8 #4D78D4 #7E9EE0

Accessibility & contrast

On white

6.51
#2C59B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2C59B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C59B8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C59B8#FFFFFF#000000##FFFFFF
##2C59B81.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B65BB
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c59b8;
/* rgb */ color: rgb(44, 89, 184);
/* oklch */ color: oklch(48.8% 0.159 262.9);
Tailwind
colors: {
  custom: {
    50: '#7987ce',
    500: '#2c59b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c59b8;
$custom-light: #7987ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c59b8",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 184
  },
  "hsl": {
    "h": 220.714,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.15863,
    "h": 262.9
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#2C59B8
secondary
#C9AE77
accent
#B143E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2C59B8

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

Preview Lab → · Contrast checker → · Palette generator →

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