#2C5E9B#2C5E9B

#2C5E9B is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.9% C 0.113 H 254.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2C5E9B
RGBrgb(44, 94, 155)
HSLhsl(213, 56%, 39%)
HSVhsv(213, 72%, 61%)
CMYKcmyk(71.6%, 39.4%, 0%, 39.2%)
CIE-LABlab(39.42, 4.45, -38.15)
CIE-LCHlch(39.42, 38.41, 276.65°)
OKLaboklab(47.87% -0.0294 -0.1087)
OKLCHoklch(47.87% 0.113 254.9)
XYZxyz(10.9556, 10.9063, 32.5317)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5E9B #9B692C
analogous
#2C969B #2C5E9B #322C9B
triadic
#2C5E9B #9B2C5E #5E9B2C
tetradic
#2C5E9B #9B2C96 #9B692C #2C9B32
square
#2C5E9B #9B2C96 #9B692C #2C9B32
split-complementary
#2C5E9B #9B322C #969B2C
monochromatic
#11243C #1E416B #2C5E9B #3C7BC8 #6C9BD5

Accessibility & contrast

On white

6.60
#2C5E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2C5E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5E9B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5E9B#FFFFFF#000000##FFFFFF
##2C5E9B1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629D
Deuteranopia (green-blind)
#31589A
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5e9b;
/* rgb */ color: rgb(44, 94, 155);
/* oklch */ color: oklch(47.9% 0.113 254.9);
Tailwind
colors: {
  custom: {
    50: '#738bb9',
    500: '#2c5e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2c5e9b;
$custom-light: #738bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5e9b",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 155
  },
  "hsl": {
    "h": 212.973,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47868,
    "c": 0.11258,
    "h": 254.9
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#2C5E9B
secondary
#BC9667
accent
#9B49DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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