#2C5CA3#2C5CA3

#2C5CA3 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.9% C 0.126 H 258.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2C5CA3
RGBrgb(44, 92, 163)
HSLhsl(216, 57%, 41%)
HSVhsv(216, 73%, 64%)
CMYKcmyk(73%, 43.6%, 0%, 36.1%)
CIE-LABlab(39.30, 8.76, -43.12)
CIE-LCHlch(39.30, 44.00, 281.49°)
OKLaboklab(47.92% -0.0256 -0.1233)
OKLCHoklch(47.92% 0.126 258.2)
XYZxyz(11.4743, 10.8329, 36.1295)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CA3 #A3732C
analogous
#2C97A3 #2C5CA3 #372CA3
triadic
#2C5CA3 #A32C5C #5CA32C
tetradic
#2C5CA3 #A32C97 #A3732C #2CA337
square
#2C5CA3 #A32C97 #A3732C #2CA337
split-complementary
#2C5CA3 #A3372C #97A32C
monochromatic
#122643 #1F4173 #2C5CA3 #4179CC #719BD9

Accessibility & contrast

On white

6.63
#2C5CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2C5CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CA3
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CA3#FFFFFF#000000##FFFFFF
##2C5CA31.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A6
Deuteranopia (green-blind)
#2457A2
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5ca3;
/* rgb */ color: rgb(44, 92, 163);
/* oklch */ color: oklch(47.9% 0.126 258.2);
Tailwind
colors: {
  custom: {
    50: '#7589bf',
    500: '#2c5ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ca3;
$custom-light: #7589bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ca3",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 215.798,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.12594,
    "h": 258.2
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#2C5CA3
secondary
#C09E6B
accent
#A347E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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