#2C5BA3#2C5BA3

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

Color values

HEX#2C5BA3
RGBrgb(44, 91, 163)
HSLhsl(216, 57%, 41%)
HSVhsv(216, 73%, 64%)
CMYKcmyk(73%, 44.2%, 0%, 36.1%)
CIE-LABlab(39.00, 9.41, -43.59)
CIE-LCHlch(39.00, 44.60, 282.19°)
OKLaboklab(47.7% -0.0247 -0.1247)
OKLCHoklch(47.7% 0.127 258.8)
XYZxyz(11.3883, 10.6608, 36.1008)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BA3 #A3742C
analogous
#2C96A3 #2C5BA3 #392CA3
triadic
#2C5BA3 #A32C5B #5BA32C
tetradic
#2C5BA3 #A32C96 #A3742C #2CA339
square
#2C5BA3 #A32C96 #A3742C #2CA339
split-complementary
#2C5BA3 #A3392C #96A32C
monochromatic
#122543 #1F4073 #2C5BA3 #4177CC #719AD9

Accessibility & contrast

On white

6.70
#2C5BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C5BA3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BA3#FFFFFF#000000##FFFFFF
##2C5BA31.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A6
Deuteranopia (green-blind)
#2257A2
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c5ba3;
/* rgb */ color: rgb(44, 91, 163);
/* oklch */ color: oklch(47.7% 0.127 258.8);
Tailwind
colors: {
  custom: {
    50: '#7588bf',
    500: '#2c5ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ba3;
$custom-light: #7588bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ba3",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 163
  },
  "hsl": {
    "h": 216.303,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47697,
    "c": 0.12713,
    "h": 258.8
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#2C5BA3
secondary
#C09E6B
accent
#A447E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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