#2C5F8E#2C5F8E

#2C5F8E is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.3% C 0.094 H 248.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2C5F8E
RGBrgb(44, 95, 142)
HSLhsl(209, 53%, 36%)
HSVhsv(209, 69%, 56%)
CMYKcmyk(69%, 33.1%, 0%, 44.3%)
CIE-LABlab(39.02, -1.03, -30.97)
CIE-LCHlch(39.02, 30.99, 268.09°)
OKLaboklab(47.33% -0.034 -0.0877)
OKLCHoklch(47.33% 0.094 248.8)
XYZxyz(10.0116, 10.6718, 27.1182)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F8E #8E5B2C
analogous
#2C8E8C #2C5F8E #2C2E8E
triadic
#2C5F8E #8E2C5F #5F8E2C
tetradic
#2C5F8E #8C2C8E #8E5B2C #2E8E2C
square
#2C5F8E #8C2C8E #8E5B2C #2E8E2C
split-complementary
#2C5F8E #8E2C2E #8E8C2C
monochromatic
#0F2031 #1E405F #2C5F8E #3A7EBD #659CCF

Accessibility & contrast

On white

6.70
#2C5F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2C5F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5F8E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F8E#FFFFFF#000000##FFFFFF
##2C5F8E1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#3D588D
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c5f8e;
/* rgb */ color: rgb(44, 95, 142);
/* oklch */ color: oklch(47.3% 0.094 248.8);
Tailwind
colors: {
  custom: {
    50: '#718caf',
    500: '#2c5f8e',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f8e;
$custom-light: #718caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f8e",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 142
  },
  "hsl": {
    "h": 208.776,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.09404,
    "h": 248.8
  },
  "luminance": 0.10673
}

Semantic roles & 50–950 ramp

primary
#2C5F8E
secondary
#B68960
accent
#914CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2C5F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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