#2C5ABF#2C5ABF

#2C5ABF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.167 H 263.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2C5ABF
RGBrgb(44, 90, 191)
HSLhsl(221, 63%, 46%)
HSVhsv(221, 77%, 75%)
CMYKcmyk(77%, 52.9%, 0%, 25.1%)
CIE-LABlab(40.59, 20.75, -57.53)
CIE-LCHlch(40.59, 61.16, 289.83°)
OKLaboklab(49.51% -0.0197 -0.1657)
OKLCHoklch(49.51% 0.167 263.2)
XYZxyz(14.0955, 11.6078, 50.7778)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5ABF #BF912C
analogous
#2CA3BF #2C5ABF #472CBF
triadic
#2C5ABF #BF2C5A #5ABF2C
tetradic
#2C5ABF #BF2CA3 #BF912C #2CBF47
square
#2C5ABF #BF2CA3 #BF912C #2CBF47
split-complementary
#2C5ABF #BF472C #A3BF2C
monochromatic
#152B5C #21438D #2C5ABF #517BD7 #83A1E2

Accessibility & contrast

On white

6.32
#2C5ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2C5ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5ABF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5ABF#FFFFFF#000000##FFFFFF
##2C5ABF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5abf;
/* rgb */ color: rgb(44, 90, 191);
/* oklch */ color: oklch(49.5% 0.167 263.2);
Tailwind
colors: {
  custom: {
    50: '#7b88d3',
    500: '#2c5abf',
    950: '#000000',
  },
}
SCSS
$custom: #2c5abf;
$custom-light: #7b88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5abf",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 191
  },
  "hsl": {
    "h": 221.224,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49506,
    "c": 0.16691,
    "h": 263.2
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#2C5ABF
secondary
#CCB27B
accent
#B242E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C5ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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