#2C5895#2C5895

#2C5895 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.111 H 257.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2C5895
RGBrgb(44, 88, 149)
HSLhsl(215, 54%, 38%)
HSVhsv(215, 70%, 58%)
CMYKcmyk(70.5%, 40.9%, 0%, 41.6%)
CIE-LABlab(37.27, 6.05, -37.97)
CIE-LCHlch(37.27, 38.45, 279.06°)
OKLaboklab(46.08% -0.0248 -0.1082)
OKLCHoklch(46.08% 0.111 257.1)
XYZxyz(9.9513, 9.6838, 29.7727)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5895 #95692C
analogous
#2C8C95 #2C5895 #342C95
triadic
#2C5895 #952C58 #58952C
tetradic
#2C5895 #952C8C #95692C #2C9534
square
#2C5895 #952C8C #95692C #2C9534
split-complementary
#2C5895 #95342C #8C952C
monochromatic
#102037 #1E3C66 #2C5895 #3A74C4 #6995D3

Accessibility & contrast

On white

7.15
#2C5895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2C5895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5895
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5895#FFFFFF#000000##FFFFFF
##2C58951.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D97
Deuteranopia (green-blind)
#2C5394
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c5895;
/* rgb */ color: rgb(44, 88, 149);
/* oklch */ color: oklch(46.1% 0.111 257.1);
Tailwind
colors: {
  custom: {
    50: '#7286b4',
    500: '#2c5895',
    950: '#000000',
  },
}
SCSS
$custom: #2c5895;
$custom-light: #7286b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5895",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 149
  },
  "hsl": {
    "h": 214.857,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4608,
    "c": 0.11105,
    "h": 257.1
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#2C5895
secondary
#B99564
accent
#A04ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5895

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

Preview Lab → · Contrast checker → · Palette generator →

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