#2C5BAE#2C5BAE

#2C5BAE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.142 H 260.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2C5BAE
RGBrgb(44, 91, 174)
HSLhsl(218, 60%, 43%)
HSVhsv(218, 75%, 68%)
CMYKcmyk(74.7%, 47.7%, 0%, 31.8%)
CIE-LABlab(39.70, 13.61, -48.99)
CIE-LCHlch(39.70, 50.85, 285.53°)
OKLaboklab(48.46% -0.0227 -0.1406)
OKLCHoklch(48.46% 0.142 260.8)
XYZxyz(12.4170, 11.0723, 41.5189)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BAE #AE7F2C
analogous
#2C9CAE #2C5BAE #3E2CAE
triadic
#2C5BAE #AE2C5B #5BAE2C
tetradic
#2C5BAE #AE2C9C #AE7F2C #2CAE3E
square
#2C5BAE #AE2C9C #AE7F2C #2CAE3E
split-complementary
#2C5BAE #AE3E2C #9CAE2C
monochromatic
#13284C #20417D #2C5BAE #4779D0 #789CDD

Accessibility & contrast

On white

6.53
#2C5BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2C5BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5BAE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BAE#FFFFFF#000000##FFFFFF
##2C5BAE1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#0958AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5bae;
/* rgb */ color: rgb(44, 91, 174);
/* oklch */ color: oklch(48.5% 0.142 260.8);
Tailwind
colors: {
  custom: {
    50: '#7788c7',
    500: '#2c5bae',
    950: '#000000',
  },
}
SCSS
$custom: #2c5bae;
$custom-light: #7788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5bae",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 218.308,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4846,
    "c": 0.14242,
    "h": 260.8
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#2C5BAE
secondary
#C5A671
accent
#AA45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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