#2C5B95#2C5B95

#2C5B95 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.108 H 255.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2C5B95
RGBrgb(44, 91, 149)
HSLhsl(213, 54%, 38%)
HSVhsv(213, 70%, 58%)
CMYKcmyk(70.5%, 38.9%, 0%, 41.6%)
CIE-LABlab(38.18, 4.11, -36.53)
CIE-LCHlch(38.18, 36.76, 276.42°)
OKLaboklab(46.79% -0.0279 -0.104)
OKLCHoklch(46.79% 0.108 255)
XYZxyz(10.2026, 10.1865, 29.8564)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5B95 #95662C
analogous
#2C8F95 #2C5B95 #322C95
triadic
#2C5B95 #952C5B #5B952C
tetradic
#2C5B95 #952C8F #95662C #2C9532
square
#2C5B95 #952C8F #95662C #2C9532
split-complementary
#2C5B95 #95322C #8F952C
monochromatic
#102137 #1E3E66 #2C5B95 #3A78C4 #6998D3

Accessibility & contrast

On white

6.91
#2C5B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2C5B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5B95
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5B95#FFFFFF#000000##FFFFFF
##2C5B951.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#315594
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c5b95;
/* rgb */ color: rgb(44, 91, 149);
/* oklch */ color: oklch(46.8% 0.108 255.0);
Tailwind
colors: {
  custom: {
    50: '#7289b4',
    500: '#2c5b95',
    950: '#000000',
  },
}
SCSS
$custom: #2c5b95;
$custom-light: #7289b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5b95",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 213.143,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.10764,
    "h": 255
  },
  "luminance": 0.10188
}

Semantic roles & 50–950 ramp

primary
#2C5B95
secondary
#B99364
accent
#9C4ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5B95

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

Preview Lab → · Contrast checker → · Palette generator →

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