#2C4F7B#2C4F7B

#2C4F7B is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.084 H 255.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2C4F7B
RGBrgb(44, 79, 123)
HSLhsl(213, 47%, 33%)
HSVhsv(213, 64%, 48%)
CMYKcmyk(64.2%, 35.8%, 0%, 51.8%)
CIE-LABlab(33.04, 2.20, -28.76)
CIE-LCHlch(33.04, 28.84, 274.36°)
OKLaboklab(42.31% -0.0218 -0.0814)
OKLCHoklch(42.31% 0.084 255)
XYZxyz(7.4086, 7.5568, 19.8032)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F7B #7B582C
analogous
#2C767B #2C4F7B #312C7B
triadic
#2C4F7B #7B2C4F #4F7B2C
tetradic
#2C4F7B #7B2C76 #7B582C #2C7B31
square
#2C4F7B #7B2C76 #7B582C #2C7B31
split-complementary
#2C4F7B #7B312C #767B2C
monochromatic
#0C1521 #1C324E #2C4F7B #3C6CA8 #5D8BC5

Accessibility & contrast

On white

8.36
#2C4F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2C4F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F7B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F7B#FFFFFF#000000##FFFFFF
##2C4F7B1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527D
Deuteranopia (green-blind)
#324A7A
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4f7b;
/* rgb */ color: rgb(44, 79, 123);
/* oklch */ color: oklch(42.3% 0.084 255.0);
Tailwind
colors: {
  custom: {
    50: '#6d80a1',
    500: '#2c4f7b',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f7b;
$custom-light: #6d80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f7b",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 213.418,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.08429,
    "h": 255
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#2C4F7B
secondary
#AB8658
accent
#9C51D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2C4F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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