#2C5B93#2C5B93

#2C5B93 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.7% C 0.105 H 254.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2C5B93
RGBrgb(44, 91, 147)
HSLhsl(213, 54%, 37%)
HSVhsv(213, 70%, 58%)
CMYKcmyk(70.1%, 38.1%, 0%, 42.4%)
CIE-LABlab(38.06, 3.36, -35.50)
CIE-LCHlch(38.06, 35.66, 275.41°)
OKLaboklab(46.66% -0.0284 -0.101)
OKLCHoklch(46.66% 0.105 254.3)
XYZxyz(10.0443, 10.1232, 29.0227)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5B93 #93642C
analogous
#2C8F93 #2C5B93 #302C93
triadic
#2C5B93 #932C5B #5B932C
tetradic
#2C5B93 #932C8F #93642C #2C9330
square
#2C5B93 #932C8F #93642C #2C9330
split-complementary
#2C5B93 #93302C #8F932C
monochromatic
#102135 #1E3E64 #2C5B93 #3A78C2 #6898D2

Accessibility & contrast

On white

6.94
#2C5B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2C5B93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5B93
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5B93#FFFFFF#000000##FFFFFF
##2C5B931.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425F95
Deuteranopia (green-blind)
#335592
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c5b93;
/* rgb */ color: rgb(44, 91, 147);
/* oklch */ color: oklch(46.7% 0.105 254.3);
Tailwind
colors: {
  custom: {
    50: '#7189b3',
    500: '#2c5b93',
    950: '#000000',
  },
}
SCSS
$custom: #2c5b93;
$custom-light: #7189b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5b93",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 147
  },
  "hsl": {
    "h": 212.621,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46661,
    "c": 0.10488,
    "h": 254.3
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#2C5B93
secondary
#B89163
accent
#9A4ADD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5B93

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

Preview Lab → · Contrast checker → · Palette generator →

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