#2C5FA5#2C5FA5

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

Color values

HEX#2C5FA5
RGBrgb(44, 95, 165)
HSLhsl(215, 58%, 41%)
HSVhsv(215, 73%, 65%)
CMYKcmyk(73.3%, 42.4%, 0%, 35.3%)
CIE-LABlab(40.30, 7.58, -42.70)
CIE-LCHlch(40.30, 43.37, 280.07°)
OKLaboklab(48.74% -0.028 -0.122)
OKLCHoklch(48.74% 0.125 257.1)
XYZxyz(11.9200, 11.4352, 37.1690)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FA5 #A5722C
analogous
#2C9BA5 #2C5FA5 #352CA5
triadic
#2C5FA5 #A52C5F #5FA52C
tetradic
#2C5FA5 #A52C9B #A5722C #2CA535
square
#2C5FA5 #A52C9B #A5722C #2CA535
split-complementary
#2C5FA5 #A5352C #9BA52C
monochromatic
#122744 #1F4375 #2C5FA5 #427CCD #729ED9

Accessibility & contrast

On white

6.39
#2C5FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2C5FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FA5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FA5#FFFFFF#000000##FFFFFF
##2C5FA51.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A8
Deuteranopia (green-blind)
#295AA4
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5fa5;
/* rgb */ color: rgb(44, 95, 165);
/* oklch */ color: oklch(48.7% 0.125 257.1);
Tailwind
colors: {
  custom: {
    50: '#758bc0',
    500: '#2c5fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fa5;
$custom-light: #758bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fa5",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 214.711,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48743,
    "c": 0.1252,
    "h": 257.1
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#2C5FA5
secondary
#C19D6C
accent
#A047E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2C5FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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