#2C5EA2#2C5EA2

#2C5EA2 is a mid, vivid cyan. Relative luminance 0.112; OKLCH L 48.3% C 0.122 H 256.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2C5EA2
RGBrgb(44, 94, 162)
HSLhsl(215, 57%, 40%)
HSVhsv(215, 73%, 64%)
CMYKcmyk(72.8%, 42%, 0%, 36.5%)
CIE-LABlab(39.83, 7.09, -41.68)
CIE-LCHlch(39.83, 42.28, 279.65°)
OKLaboklab(48.32% -0.0278 -0.119)
OKLCHoklch(48.32% 0.122 256.9)
XYZxyz(11.5606, 11.1483, 35.7180)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EA2 #A2702C
analogous
#2C99A2 #2C5EA2 #352CA2
triadic
#2C5EA2 #A22C5E #5EA22C
tetradic
#2C5EA2 #A22C99 #A2702C #2CA235
square
#2C5EA2 #A22C99 #A2702C #2CA235
split-complementary
#2C5EA2 #A2352C #99A22C
monochromatic
#122642 #1F4272 #2C5EA2 #407BCB #709CD8

Accessibility & contrast

On white

6.50
#2C5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2C5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EA2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EA2#FFFFFF#000000##FFFFFF
##2C5EA21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#2A59A1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5ea2;
/* rgb */ color: rgb(44, 94, 162);
/* oklch */ color: oklch(48.3% 0.122 256.9);
Tailwind
colors: {
  custom: {
    50: '#748bbe',
    500: '#2c5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ea2;
$custom-light: #748bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ea2",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 214.576,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48317,
    "c": 0.12222,
    "h": 256.9
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#2C5EA2
secondary
#BF9B6A
accent
#A047E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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