#2C4E7B#2C4E7B

#2C4E7B is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.085 H 256.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2C4E7B
RGBrgb(44, 78, 123)
HSLhsl(214, 47%, 33%)
HSVhsv(214, 64%, 48%)
CMYKcmyk(64.2%, 36.6%, 0%, 51.8%)
CIE-LABlab(32.73, 2.85, -29.25)
CIE-LCHlch(32.73, 29.39, 275.56°)
OKLaboklab(42.07% -0.0207 -0.0829)
OKLCHoklch(42.07% 0.085 256)
XYZxyz(7.3370, 7.4136, 19.7794)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E7B #7B592C
analogous
#2C757B #2C4E7B #312C7B
triadic
#2C4E7B #7B2C4E #4E7B2C
tetradic
#2C4E7B #7B2C75 #7B592C #2C7B31
square
#2C4E7B #7B2C75 #7B592C #2C7B31
split-complementary
#2C4E7B #7B312C #757B2C
monochromatic
#0C1521 #1C314E #2C4E7B #3C6BA8 #5D89C5

Accessibility & contrast

On white

8.46
#2C4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2C4E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E7B
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E7B#FFFFFF#000000##FFFFFF
##2C4E7B1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#304A7A
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4e7b;
/* rgb */ color: rgb(44, 78, 123);
/* oklch */ color: oklch(42.1% 0.085 256.0);
Tailwind
colors: {
  custom: {
    50: '#6d7fa1',
    500: '#2c4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e7b;
$custom-light: #6d7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e7b",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 214.177,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42065,
    "c": 0.0854,
    "h": 256
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#2C4E7B
secondary
#AB8758
accent
#9D51D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2C4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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