#2C5B97#2C5B97

#2C5B97 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.9% C 0.110 H 255.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2C5B97
RGBrgb(44, 91, 151)
HSLhsl(214, 55%, 38%)
HSVhsv(214, 71%, 59%)
CMYKcmyk(70.9%, 39.7%, 0%, 40.8%)
CIE-LABlab(38.29, 4.87, -37.55)
CIE-LCHlch(38.29, 37.87, 277.38°)
OKLaboklab(46.91% -0.0274 -0.107)
OKLCHoklch(46.91% 0.11 255.6)
XYZxyz(10.3637, 10.2509, 30.7046)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5B97 #97682C
analogous
#2C9097 #2C5B97 #322C97
triadic
#2C5B97 #972C5B #5B972C
tetradic
#2C5B97 #972C90 #97682C #2C9732
square
#2C5B97 #972C90 #97682C #2C9732
split-complementary
#2C5B97 #97322C #90972C
monochromatic
#102238 #1E3E68 #2C5B97 #3A78C6 #6A98D4

Accessibility & contrast

On white

6.88
#2C5B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2C5B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5B97
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5B97#FFFFFF#000000##FFFFFF
##2C5B971.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#2F5696
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c5b97;
/* rgb */ color: rgb(44, 91, 151);
/* oklch */ color: oklch(46.9% 0.110 255.6);
Tailwind
colors: {
  custom: {
    50: '#7289b6',
    500: '#2c5b97',
    950: '#000000',
  },
}
SCSS
$custom: #2c5b97;
$custom-light: #7289b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5b97",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 213.645,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46911,
    "c": 0.11042,
    "h": 255.6
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#2C5B97
secondary
#BA9565
accent
#9D4ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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