#2C497C#2C497C

#2C497C is a dark, moderate blue. Relative luminance 0.068; OKLCH L 40.9% C 0.093 H 260.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2C497C
RGBrgb(44, 73, 124)
HSLhsl(218, 48%, 33%)
HSVhsv(218, 65%, 49%)
CMYKcmyk(64.5%, 41.1%, 0%, 51.4%)
CIE-LABlab(31.24, 6.53, -32.23)
CIE-LCHlch(31.24, 32.88, 281.45°)
OKLaboklab(40.93% -0.0146 -0.0916)
OKLCHoklch(40.93% 0.093 260.9)
XYZxyz(7.0581, 6.7552, 19.9968)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C497C #7C5F2C
analogous
#2C717C #2C497C #372C7C
triadic
#2C497C #7C2C49 #497C2C
tetradic
#2C497C #7C2C71 #7C5F2C #2C7C37
square
#2C497C #7C2C71 #7C5F2C #2C7C37
split-complementary
#2C497C #7C372C #717C2C
monochromatic
#0C1422 #1C2E4F #2C497C #3C64A9 #5D83C5

Accessibility & contrast

On white

8.93
#2C497C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C497C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C497C#FFFFFF#000000##FFFFFF
##2C497C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c497c;
/* rgb */ color: rgb(44, 73, 124);
/* oklch */ color: oklch(40.9% 0.093 260.9);
Tailwind
colors: {
  custom: {
    50: '#6d7ba2',
    500: '#2c497c',
    950: '#000000',
  },
}
SCSS
$custom: #2c497c;
$custom-light: #6d7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c497c",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 124
  },
  "hsl": {
    "h": 218.25,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40927,
    "c": 0.0928,
    "h": 260.9
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#2C497C
secondary
#AC8D58
accent
#A651D7
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C497C

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

Preview Lab → · Contrast checker → · Palette generator →

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