#2C5EA7#2C5EA7

#2C5EA7 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.6% C 0.129 H 258.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2C5EA7
RGBrgb(44, 94, 167)
HSLhsl(216, 58%, 41%)
HSVhsv(216, 74%, 65%)
CMYKcmyk(73.7%, 43.7%, 0%, 34.5%)
CIE-LABlab(40.13, 8.99, -44.17)
CIE-LCHlch(40.13, 45.07, 281.50°)
OKLaboklab(48.65% -0.0267 -0.1263)
OKLCHoklch(48.65% 0.129 258.1)
XYZxyz(12.0139, 11.3296, 38.1054)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EA7 #A7752C
analogous
#2C9CA7 #2C5EA7 #382CA7
triadic
#2C5EA7 #A72C5E #5EA72C
tetradic
#2C5EA7 #A72C9C #A7752C #2CA738
square
#2C5EA7 #A72C9C #A7752C #2CA738
split-complementary
#2C5EA7 #A7382C #9CA72C
monochromatic
#122746 #1F4377 #2C5EA7 #437BCD #739DDA

Accessibility & contrast

On white

6.43
#2C5EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2C5EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EA7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EA7#FFFFFF#000000##FFFFFF
##2C5EA71.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AA
Deuteranopia (green-blind)
#2459A6
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5ea7;
/* rgb */ color: rgb(44, 94, 167);
/* oklch */ color: oklch(48.6% 0.129 258.1);
Tailwind
colors: {
  custom: {
    50: '#758bc1',
    500: '#2c5ea7',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ea7;
$custom-light: #758bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ea7",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 215.61,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.12913,
    "h": 258.1
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#2C5EA7
secondary
#C29F6D
accent
#A246E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C5EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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