#2C5CA8#2C5CA8

#2C5CA8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.133 H 259.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2C5CA8
RGBrgb(44, 92, 168)
HSLhsl(217, 58%, 42%)
HSVhsv(217, 74%, 66%)
CMYKcmyk(73.8%, 45.2%, 0%, 34.1%)
CIE-LABlab(39.61, 10.67, -45.60)
CIE-LCHlch(39.61, 46.83, 283.17°)
OKLaboklab(48.26% -0.0247 -0.1306)
OKLCHoklch(48.26% 0.133 259.3)
XYZxyz(11.9312, 11.0156, 38.5356)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CA8 #A8782C
analogous
#2C9AA8 #2C5CA8 #3A2CA8
triadic
#2C5CA8 #A82C5C #5CA82C
tetradic
#2C5CA8 #A82C9A #A8782C #2CA83A
square
#2C5CA8 #A82C9A #A8782C #2CA83A
split-complementary
#2C5CA8 #A83A2C #9AA82C
monochromatic
#132747 #1F4178 #2C5CA8 #4379CE #749CDB

Accessibility & contrast

On white

6.56
#2C5CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2C5CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CA8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CA8#FFFFFF#000000##FFFFFF
##2C5CA81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663AB
Deuteranopia (green-blind)
#1D58A6
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5ca8;
/* rgb */ color: rgb(44, 92, 168);
/* oklch */ color: oklch(48.3% 0.133 259.3);
Tailwind
colors: {
  custom: {
    50: '#7689c2',
    500: '#2c5ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ca8;
$custom-light: #7689c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ca8",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 216.774,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48263,
    "c": 0.13289,
    "h": 259.3
  },
  "luminance": 0.11017
}

Semantic roles & 50–950 ramp

primary
#2C5CA8
secondary
#C2A16E
accent
#A546E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C5CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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