#2C497B#2C497B

#2C497B is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.091 H 260.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2C497B
RGBrgb(44, 73, 123)
HSLhsl(218, 47%, 33%)
HSVhsv(218, 64%, 48%)
CMYKcmyk(64.2%, 40.7%, 0%, 51.8%)
CIE-LABlab(31.18, 6.15, -31.70)
CIE-LCHlch(31.18, 32.29, 280.99°)
OKLaboklab(40.86% -0.0149 -0.0901)
OKLCHoklch(40.86% 0.091 260.6)
XYZxyz(6.9951, 6.7300, 19.6654)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C497B #7B5E2C
analogous
#2C707B #2C497B #372C7B
triadic
#2C497B #7B2C49 #497B2C
tetradic
#2C497B #7B2C70 #7B5E2C #2C7B37
square
#2C497B #7B2C70 #7B5E2C #2C7B37
split-complementary
#2C497B #7B372C #707B2C
monochromatic
#0C1321 #1C2E4E #2C497B #3C64A8 #5D83C5

Accessibility & contrast

On white

8.95
#2C497B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C497B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C497B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C497B#FFFFFF#000000##FFFFFF
##2C497B1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7D
Deuteranopia (green-blind)
#28467A
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c497b;
/* rgb */ color: rgb(44, 73, 123);
/* oklch */ color: oklch(40.9% 0.091 260.6);
Tailwind
colors: {
  custom: {
    50: '#6d7ba1',
    500: '#2c497b',
    950: '#000000',
  },
}
SCSS
$custom: #2c497b;
$custom-light: #6d7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c497b",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 217.975,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40862,
    "c": 0.0913,
    "h": 260.6
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#2C497B
secondary
#AB8C58
accent
#A651D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2C497B

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

Preview Lab → · Contrast checker → · Palette generator →

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