#2C4F7D#2C4F7D

#2C4F7D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.087 H 255.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2C4F7D
RGBrgb(44, 79, 125)
HSLhsl(214, 48%, 33%)
HSVhsv(214, 65%, 49%)
CMYKcmyk(64.8%, 36.8%, 0%, 51%)
CIE-LABlab(33.15, 2.93, -29.83)
CIE-LCHlch(33.15, 29.97, 275.61°)
OKLaboklab(42.43% -0.0213 -0.0845)
OKLCHoklch(42.43% 0.087 255.9)
XYZxyz(7.5350, 7.6074, 20.4693)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F7D #7D5A2C
analogous
#2C777D #2C4F7D #312C7D
triadic
#2C4F7D #7D2C4F #4F7D2C
tetradic
#2C4F7D #7D2C77 #7D5A2C #2C7D31
square
#2C4F7D #7D2C77 #7D5A2C #2C7D31
split-complementary
#2C4F7D #7D312C #777D2C
monochromatic
#0C1622 #1C3250 #2C4F7D #3C6CAA #5D8BC6

Accessibility & contrast

On white

8.33
#2C4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2C4F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F7D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F7D#FFFFFF#000000##FFFFFF
##2C4F7D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#304A7C
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4f7d;
/* rgb */ color: rgb(44, 79, 125);
/* oklch */ color: oklch(42.4% 0.087 255.9);
Tailwind
colors: {
  custom: {
    50: '#6d80a3',
    500: '#2c4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f7d;
$custom-light: #6d80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f7d",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 214.074,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42429,
    "c": 0.08716,
    "h": 255.9
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#2C4F7D
secondary
#AC8859
accent
#9D50D8
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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