#2C3597#2C3597

#2C3597 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.158 H 272.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2C3597
RGBrgb(44, 53, 151)
HSLhsl(235, 55%, 38%)
HSVhsv(235, 71%, 59%)
CMYKcmyk(70.9%, 64.9%, 0%, 40.8%)
CIE-LABlab(27.61, 30.17, -54.77)
CIE-LCHlch(27.61, 62.53, 298.85°)
OKLaboklab(38.81% 0.0069 -0.1581)
OKLCHoklch(38.81% 0.158 272.5)
XYZxyz(7.8958, 5.3153, 29.8820)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3597 #978E2C
analogous
#2C6A97 #2C3597 #582C97
triadic
#2C3597 #972C35 #35972C
tetradic
#2C3597 #972C6A #978E2C #2C9758
square
#2C3597 #972C6A #978E2C #2C9758
split-complementary
#2C3597 #97582C #6A972C
monochromatic
#101438 #1E2468 #2C3597 #3A46C6 #6A73D4

Accessibility & contrast

On white

10.18
#2C3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3597
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3597#FFFFFF#000000##FFFFFF
##2C35971.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c3597;
/* rgb */ color: rgb(44, 53, 151);
/* oklch */ color: oklch(38.8% 0.158 272.5);
Tailwind
colors: {
  custom: {
    50: '#746cb6',
    500: '#2c3597',
    950: '#000000',
  },
}
SCSS
$custom: #2c3597;
$custom-light: #746cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3597",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 234.953,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38813,
    "c": 0.15829,
    "h": 272.5
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#2C3597
secondary
#BAB365
accent
#D24ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3597

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

Preview Lab → · Contrast checker → · Palette generator →

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