#2C5CA0#2C5CA0

#2C5CA0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.7% C 0.122 H 257.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2C5CA0
RGBrgb(44, 92, 160)
HSLhsl(215, 57%, 40%)
HSVhsv(215, 73%, 63%)
CMYKcmyk(72.5%, 42.5%, 0%, 37.3%)
CIE-LABlab(39.12, 7.62, -41.62)
CIE-LCHlch(39.12, 42.32, 280.38°)
OKLaboklab(47.73% -0.0263 -0.1189)
OKLCHoklch(47.73% 0.122 257.5)
XYZxyz(11.2087, 10.7266, 34.7306)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CA0 #A0702C
analogous
#2C96A0 #2C5CA0 #362CA0
triadic
#2C5CA0 #A02C5C #5CA02C
tetradic
#2C5CA0 #A02C96 #A0702C #2CA036
square
#2C5CA0 #A02C96 #A0702C #2CA036
split-complementary
#2C5CA0 #A0362C #96A02C
monochromatic
#122540 #1F4070 #2C5CA0 #3F79CA #6F9AD7

Accessibility & contrast

On white

6.68
#2C5CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2C5CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CA0
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CA0#FFFFFF#000000##FFFFFF
##2C5CA01.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A3
Deuteranopia (green-blind)
#28579F
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c5ca0;
/* rgb */ color: rgb(44, 92, 160);
/* oklch */ color: oklch(47.7% 0.122 257.5);
Tailwind
colors: {
  custom: {
    50: '#7489bc',
    500: '#2c5ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ca0;
$custom-light: #7489bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ca0",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 160
  },
  "hsl": {
    "h": 215.172,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.12177,
    "h": 257.5
  },
  "luminance": 0.10728
}

Semantic roles & 50–950 ramp

primary
#2C5CA0
secondary
#BF9B69
accent
#A148E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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