#2C5EA8#2C5EA8

#2C5EA8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.7% C 0.131 H 258.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2C5EA8
RGBrgb(44, 94, 168)
HSLhsl(216, 58%, 42%)
HSVhsv(216, 74%, 66%)
CMYKcmyk(73.8%, 44%, 0%, 34.1%)
CIE-LABlab(40.19, 9.37, -44.66)
CIE-LCHlch(40.19, 45.63, 281.85°)
OKLaboklab(48.72% -0.0265 -0.1278)
OKLCHoklch(48.72% 0.131 258.3)
XYZxyz(12.1067, 11.3667, 38.5941)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EA8 #A8762C
analogous
#2C9CA8 #2C5EA8 #382CA8
triadic
#2C5EA8 #A82C5E #5EA82C
tetradic
#2C5EA8 #A82C9C #A8762C #2CA838
square
#2C5EA8 #A82C9C #A8762C #2CA838
split-complementary
#2C5EA8 #A8382C #9CA82C
monochromatic
#132847 #1F4378 #2C5EA8 #437BCE #749DDB

Accessibility & contrast

On white

6.41
#2C5EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C5EA8
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EA8#FFFFFF#000000##FFFFFF
##2C5EA81.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AB
Deuteranopia (green-blind)
#2259A7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5ea8;
/* rgb */ color: rgb(44, 94, 168);
/* oklch */ color: oklch(48.7% 0.131 258.3);
Tailwind
colors: {
  custom: {
    50: '#768bc2',
    500: '#2c5ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ea8;
$custom-light: #768bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ea8",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 215.806,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48715,
    "c": 0.13051,
    "h": 258.3
  },
  "luminance": 0.11368
}

Semantic roles & 50–950 ramp

primary
#2C5EA8
secondary
#C2A06E
accent
#A346E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C5EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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