#2C5BA2#2C5BA2

#2C5BA2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.126 H 258.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2C5BA2
RGBrgb(44, 91, 162)
HSLhsl(216, 57%, 40%)
HSVhsv(216, 73%, 64%)
CMYKcmyk(72.8%, 43.8%, 0%, 36.5%)
CIE-LABlab(38.94, 9.03, -43.09)
CIE-LCHlch(38.94, 44.03, 281.84°)
OKLaboklab(47.63% -0.0249 -0.1232)
OKLCHoklch(47.63% 0.126 258.6)
XYZxyz(11.2990, 10.6251, 35.6308)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BA2 #A2732C
analogous
#2C96A2 #2C5BA2 #382CA2
triadic
#2C5BA2 #A22C5B #5BA22C
tetradic
#2C5BA2 #A22C96 #A2732C #2CA238
square
#2C5BA2 #A22C96 #A2732C #2CA238
split-complementary
#2C5BA2 #A2382C #96A22C
monochromatic
#122542 #1F4072 #2C5BA2 #4077CB #709AD8

Accessibility & contrast

On white

6.72
#2C5BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2C5BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5BA2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BA2#FFFFFF#000000##FFFFFF
##2C5BA21.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A5
Deuteranopia (green-blind)
#2357A1
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c5ba2;
/* rgb */ color: rgb(44, 91, 162);
/* oklch */ color: oklch(47.6% 0.126 258.6);
Tailwind
colors: {
  custom: {
    50: '#7488be',
    500: '#2c5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ba2;
$custom-light: #7488be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ba2",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 216.102,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.12573,
    "h": 258.6
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#2C5BA2
secondary
#BF9E6A
accent
#A347E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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