#2C5D8A#2C5D8A

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

Color values

HEX#2C5D8A
RGBrgb(44, 93, 138)
HSLhsl(209, 52%, 36%)
HSVhsv(209, 68%, 54%)
CMYKcmyk(68.1%, 32.6%, 0%, 45.9%)
CIE-LABlab(38.20, -1.25, -29.85)
CIE-LCHlch(38.20, 29.87, 267.61°)
OKLaboklab(46.61% -0.0331 -0.0844)
OKLCHoklch(46.61% 0.091 248.6)
XYZxyz(9.5388, 10.1982, 25.5056)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D8A #8A592C
analogous
#2C8A88 #2C5D8A #2C2E8A
triadic
#2C5D8A #8A2C5D #5D8A2C
tetradic
#2C5D8A #882C8A #8A592C #2E8A2C
square
#2C5D8A #882C8A #8A592C #2E8A2C
split-complementary
#2C5D8A #8A2C2E #8A882C
monochromatic
#0E1E2D #1D3E5C #2C5D8A #3B7CB8 #639ACD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5D8A#FFFFFF#000000##FFFFFF
##2C5D8A1.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)
#495F8C
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c5d8a;
/* rgb */ color: rgb(44, 93, 138);
/* oklch */ color: oklch(46.6% 0.091 248.6);
Tailwind
colors: {
  custom: {
    50: '#708aac',
    500: '#2c5d8a',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d8a;
$custom-light: #708aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d8a",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 208.723,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46607,
    "c": 0.09068,
    "h": 248.6
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#2C5D8A
secondary
#B4875E
accent
#914DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2C5D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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