#2C497D#2C497D

#2C497D is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.0% C 0.094 H 261.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2C497D
RGBrgb(44, 73, 125)
HSLhsl(219, 48%, 33%)
HSVhsv(219, 65%, 49%)
CMYKcmyk(64.8%, 41.6%, 0%, 51%)
CIE-LABlab(31.30, 6.90, -32.76)
CIE-LCHlch(31.30, 33.48, 281.90°)
OKLaboklab(40.99% -0.0144 -0.0932)
OKLCHoklch(40.99% 0.094 261.2)
XYZxyz(7.1216, 6.7806, 20.3315)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C497D #7D602C
analogous
#2C717D #2C497D #382C7D
triadic
#2C497D #7D2C49 #497D2C
tetradic
#2C497D #7D2C71 #7D602C #2C7D38
square
#2C497D #7D2C71 #7D602C #2C7D38
split-complementary
#2C497D #7D382C #717D2C
monochromatic
#0C1422 #1C2F50 #2C497D #3C63AA #5D83C6

Accessibility & contrast

On white

8.91
#2C497D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2C497D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C497D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C497D#FFFFFF#000000##FFFFFF
##2C497D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#27467C
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c497d;
/* rgb */ color: rgb(44, 73, 125);
/* oklch */ color: oklch(41.0% 0.094 261.2);
Tailwind
colors: {
  custom: {
    50: '#6d7ba3',
    500: '#2c497d',
    950: '#000000',
  },
}
SCSS
$custom: #2c497d;
$custom-light: #6d7ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c497d",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 125
  },
  "hsl": {
    "h": 218.519,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40992,
    "c": 0.09429,
    "h": 261.2
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#2C497D
secondary
#AC8E59
accent
#A750D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C497D

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

Preview Lab → · Contrast checker → · Palette generator →

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