#2C5FA4#2C5FA4

#2C5FA4 is a mid, vivid cyan. Relative luminance 0.114; OKLCH L 48.7% C 0.124 H 256.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2C5FA4
RGBrgb(44, 95, 164)
HSLhsl(215, 58%, 41%)
HSVhsv(215, 73%, 64%)
CMYKcmyk(73.2%, 42.1%, 0%, 35.7%)
CIE-LABlab(40.24, 7.21, -42.20)
CIE-LCHlch(40.24, 42.81, 279.69°)
OKLaboklab(48.68% -0.0283 -0.1205)
OKLCHoklch(48.68% 0.124 256.8)
XYZxyz(11.8293, 11.3989, 36.6915)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FA4 #A4712C
analogous
#2C9BA4 #2C5FA4 #352CA4
triadic
#2C5FA4 #A42C5F #5FA42C
tetradic
#2C5FA4 #A42C9B #A4712C #2CA435
square
#2C5FA4 #A42C9B #A4712C #2CA435
split-complementary
#2C5FA4 #A4352C #9BA42C
monochromatic
#122743 #1F4374 #2C5FA4 #417CCC #719DD9

Accessibility & contrast

On white

6.40
#2C5FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2C5FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FA4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FA4#FFFFFF#000000##FFFFFF
##2C5FA41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A7
Deuteranopia (green-blind)
#2A5AA3
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5fa4;
/* rgb */ color: rgb(44, 95, 164);
/* oklch */ color: oklch(48.7% 0.124 256.8);
Tailwind
colors: {
  custom: {
    50: '#758bbf',
    500: '#2c5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fa4;
$custom-light: #758bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fa4",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 214.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48678,
    "c": 0.12382,
    "h": 256.8
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#2C5FA4
secondary
#C09C6B
accent
#9F47E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2C5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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