#2C5D9F#2C5D9F

#2C5D9F is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.9% C 0.119 H 256.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2C5D9F
RGBrgb(44, 93, 159)
HSLhsl(214, 57%, 40%)
HSVhsv(214, 72%, 62%)
CMYKcmyk(72.3%, 41.5%, 0%, 37.6%)
CIE-LABlab(39.35, 6.60, -40.65)
CIE-LCHlch(39.35, 41.18, 279.22°)
OKLaboklab(47.89% -0.0275 -0.116)
OKLCHoklch(47.89% 0.119 256.7)
XYZxyz(11.2088, 10.8662, 34.3008)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D9F #9F6E2C
analogous
#2C969F #2C5D9F #352C9F
triadic
#2C5D9F #9F2C5D #5D9F2C
tetradic
#2C5D9F #9F2C96 #9F6E2C #2C9F35
square
#2C5D9F #9F2C96 #9F6E2C #2C9F35
split-complementary
#2C5D9F #9F352C #969F2C
monochromatic
#11253F #1F416F #2C5D9F #3E7ACA #6E9BD7

Accessibility & contrast

On white

6.62
#2C5D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2C5D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5D9F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5D9F#FFFFFF#000000##FFFFFF
##2C5D9F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E62A2
Deuteranopia (green-blind)
#2B589E
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5d9f;
/* rgb */ color: rgb(44, 93, 159);
/* oklch */ color: oklch(47.9% 0.119 256.7);
Tailwind
colors: {
  custom: {
    50: '#748abc',
    500: '#2c5d9f',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d9f;
$custom-light: #748abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d9f",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 159
  },
  "hsl": {
    "h": 214.435,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4789,
    "c": 0.11923,
    "h": 256.7
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#2C5D9F
secondary
#BE9A69
accent
#9F48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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