#2C5CA1#2C5CA1

#2C5CA1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.8% C 0.123 H 257.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2C5CA1
RGBrgb(44, 92, 161)
HSLhsl(215, 57%, 40%)
HSVhsv(215, 73%, 63%)
CMYKcmyk(72.7%, 42.9%, 0%, 36.9%)
CIE-LABlab(39.18, 8.00, -42.12)
CIE-LCHlch(39.18, 42.88, 280.76°)
OKLaboklab(47.79% -0.0261 -0.1204)
OKLCHoklch(47.79% 0.123 257.8)
XYZxyz(11.2965, 10.7618, 35.1932)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CA1 #A1712C
analogous
#2C96A1 #2C5CA1 #372CA1
triadic
#2C5CA1 #A12C5C #5CA12C
tetradic
#2C5CA1 #A12C96 #A1712C #2CA137
square
#2C5CA1 #A12C96 #A1712C #2CA137
split-complementary
#2C5CA1 #A1372C #96A12C
monochromatic
#122541 #1F4171 #2C5CA1 #4079CB #709AD8

Accessibility & contrast

On white

6.66
#2C5CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C5CA1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CA1#FFFFFF#000000##FFFFFF
##2C5CA11.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B62A4
Deuteranopia (green-blind)
#2757A0
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c5ca1;
/* rgb */ color: rgb(44, 92, 161);
/* oklch */ color: oklch(47.8% 0.123 257.8);
Tailwind
colors: {
  custom: {
    50: '#7489bd',
    500: '#2c5ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ca1;
$custom-light: #7489bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ca1",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 215.385,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47791,
    "c": 0.12316,
    "h": 257.8
  },
  "luminance": 0.10763
}

Semantic roles & 50–950 ramp

primary
#2C5CA1
secondary
#BF9C6A
accent
#A247E0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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