#2C5EA1#2C5EA1

#2C5EA1 is a mid, vivid cyan. Relative luminance 0.111; OKLCH L 48.3% C 0.121 H 256.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2C5EA1
RGBrgb(44, 94, 161)
HSLhsl(214, 57%, 40%)
HSVhsv(214, 73%, 63%)
CMYKcmyk(72.7%, 41.6%, 0%, 36.9%)
CIE-LABlab(39.77, 6.71, -41.18)
CIE-LCHlch(39.77, 41.72, 279.26°)
OKLaboklab(48.25% -0.028 -0.1176)
OKLCHoklch(48.25% 0.121 256.6)
XYZxyz(11.4721, 11.1128, 35.2517)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EA1 #A16F2C
analogous
#2C98A1 #2C5EA1 #352CA1
triadic
#2C5EA1 #A12C5E #5EA12C
tetradic
#2C5EA1 #A12C98 #A16F2C #2CA135
square
#2C5EA1 #A12C98 #A16F2C #2CA135
split-complementary
#2C5EA1 #A1352C #98A12C
monochromatic
#122641 #1F4271 #2C5EA1 #407BCB #709CD8

Accessibility & contrast

On white

6.52
#2C5EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2C5EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EA1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EA1#FFFFFF#000000##FFFFFF
##2C5EA11.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A4
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5ea1;
/* rgb */ color: rgb(44, 94, 161);
/* oklch */ color: oklch(48.3% 0.121 256.6);
Tailwind
colors: {
  custom: {
    50: '#748bbd',
    500: '#2c5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ea1;
$custom-light: #748bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ea1",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 214.359,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.12084,
    "h": 256.6
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#2C5EA1
secondary
#BF9B6A
accent
#9F47E0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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