#2C5BA9#2C5BA9

#2C5BA9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.135 H 260.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2C5BA9
RGBrgb(44, 91, 169)
HSLhsl(217, 59%, 42%)
HSVhsv(217, 74%, 66%)
CMYKcmyk(74%, 46.2%, 0%, 33.7%)
CIE-LABlab(39.38, 11.70, -46.55)
CIE-LCHlch(39.38, 48.00, 284.11°)
OKLaboklab(48.11% -0.0236 -0.1334)
OKLCHoklch(48.11% 0.135 260)
XYZxyz(11.9386, 10.8809, 38.9995)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BA9 #A97A2C
analogous
#2C9AA9 #2C5BA9 #3C2CA9
triadic
#2C5BA9 #A92C5B #5BA92C
tetradic
#2C5BA9 #A92C9A #A97A2C #2CA93C
square
#2C5BA9 #A92C9A #A97A2C #2CA93C
split-complementary
#2C5BA9 #A93C2C #9AA92C
monochromatic
#132748 #1F4178 #2C5BA9 #4478CE #749BDB

Accessibility & contrast

On white

6.61
#2C5BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2C5BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5BA9
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BA9#FFFFFF#000000##FFFFFF
##2C5BA91.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AC
Deuteranopia (green-blind)
#1757A7
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5ba9;
/* rgb */ color: rgb(44, 91, 169);
/* oklch */ color: oklch(48.1% 0.135 260.0);
Tailwind
colors: {
  custom: {
    50: '#7688c3',
    500: '#2c5ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ba9;
$custom-light: #7688c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ba9",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 169
  },
  "hsl": {
    "h": 217.44,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.13548,
    "h": 260
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#2C5BA9
secondary
#C3A36E
accent
#A746E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C5BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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