#2C4597#2C4597

#2C4597 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.138 H 267.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2C4597
RGBrgb(44, 69, 151)
HSLhsl(226, 55%, 38%)
HSVhsv(226, 71%, 59%)
CMYKcmyk(70.9%, 54.3%, 0%, 40.8%)
CIE-LABlab(31.86, 19.46, -47.86)
CIE-LCHlch(31.86, 51.66, 292.13°)
OKLaboklab(41.98% -0.0063 -0.1376)
OKLCHoklch(41.98% 0.138 267.4)
XYZxyz(8.7508, 7.0252, 30.1670)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4597 #977E2C
analogous
#2C7A97 #2C4597 #482C97
triadic
#2C4597 #972C45 #45972C
tetradic
#2C4597 #972C7A #977E2C #2C9748
square
#2C4597 #972C7A #977E2C #2C9748
split-complementary
#2C4597 #97482C #7A972C
monochromatic
#101A38 #1E2F68 #2C4597 #3A5BC6 #6A83D4

Accessibility & contrast

On white

8.73
#2C4597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C4597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4597
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4597#FFFFFF#000000##FFFFFF
##2C45971.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A509A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c4597;
/* rgb */ color: rgb(44, 69, 151);
/* oklch */ color: oklch(42.0% 0.138 267.4);
Tailwind
colors: {
  custom: {
    50: '#7378b6',
    500: '#2c4597',
    950: '#000000',
  },
}
SCSS
$custom: #2c4597;
$custom-light: #7378b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4597",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 225.981,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41978,
    "c": 0.13777,
    "h": 267.4
  },
  "luminance": 0.07026
}

Semantic roles & 50–950 ramp

primary
#2C4597
secondary
#BAA665
accent
#BB4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4597

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

Preview Lab → · Contrast checker → · Palette generator →

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