#2C5FA6#2C5FA6

#2C5FA6 is a mid, vivid cyan. Relative luminance 0.115; OKLCH L 48.8% C 0.127 H 257.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2C5FA6
RGBrgb(44, 95, 166)
HSLhsl(215, 58%, 41%)
HSVhsv(215, 73%, 65%)
CMYKcmyk(73.5%, 42.8%, 0%, 34.9%)
CIE-LABlab(40.36, 7.96, -43.20)
CIE-LCHlch(40.36, 43.93, 280.45°)
OKLaboklab(48.81% -0.0278 -0.1235)
OKLCHoklch(48.81% 0.127 257.3)
XYZxyz(12.0113, 11.4717, 37.6502)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FA6 #A6732C
analogous
#2C9CA6 #2C5FA6 #362CA6
triadic
#2C5FA6 #A62C5F #5FA62C
tetradic
#2C5FA6 #A62C9C #A6732C #2CA636
square
#2C5FA6 #A62C9C #A6732C #2CA636
split-complementary
#2C5FA6 #A6362C #9CA62C
monochromatic
#122845 #1F4376 #2C5FA6 #427CCD #739EDA

Accessibility & contrast

On white

6.37
#2C5FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C5FA6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FA6#FFFFFF#000000##FFFFFF
##2C5FA61.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A9
Deuteranopia (green-blind)
#285AA5
Tritanopia (blue-blind)
#00707A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5fa6;
/* rgb */ color: rgb(44, 95, 166);
/* oklch */ color: oklch(48.8% 0.127 257.3);
Tailwind
colors: {
  custom: {
    50: '#758bc1',
    500: '#2c5fa6',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fa6;
$custom-light: #758bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fa6",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 214.918,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.12658,
    "h": 257.3
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#2C5FA6
secondary
#C19E6D
accent
#A146E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2C5FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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