#2C5CA2#2C5CA2

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

Color values

HEX#2C5CA2
RGBrgb(44, 92, 162)
HSLhsl(216, 57%, 40%)
HSVhsv(216, 73%, 64%)
CMYKcmyk(72.8%, 43.2%, 0%, 36.5%)
CIE-LABlab(39.24, 8.38, -42.62)
CIE-LCHlch(39.24, 43.44, 281.13°)
OKLaboklab(47.86% -0.0259 -0.1218)
OKLCHoklch(47.86% 0.125 258)
XYZxyz(11.3851, 10.7972, 35.6595)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CA2 #A2722C
analogous
#2C97A2 #2C5CA2 #372CA2
triadic
#2C5CA2 #A22C5C #5CA22C
tetradic
#2C5CA2 #A22C97 #A2722C #2CA237
square
#2C5CA2 #A22C97 #A2722C #2CA237
split-complementary
#2C5CA2 #A2372C #97A22C
monochromatic
#122542 #1F4172 #2C5CA2 #4079CB #709BD8

Accessibility & contrast

On white

6.65
#2C5CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2C5CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CA2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CA2#FFFFFF#000000##FFFFFF
##2C5CA21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#2657A1
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c5ca2;
/* rgb */ color: rgb(44, 92, 162);
/* oklch */ color: oklch(47.9% 0.125 258.0);
Tailwind
colors: {
  custom: {
    50: '#7489be',
    500: '#2c5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ca2;
$custom-light: #7489be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ca2",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 215.593,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47858,
    "c": 0.12455,
    "h": 258
  },
  "luminance": 0.10798
}

Semantic roles & 50–950 ramp

primary
#2C5CA2
secondary
#BF9D6A
accent
#A247E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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