#2C4C97#2C4C97

#2C4C97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.129 H 264.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2C4C97
RGBrgb(44, 76, 151)
HSLhsl(222, 55%, 38%)
HSVhsv(222, 71%, 59%)
CMYKcmyk(70.9%, 49.7%, 0%, 40.8%)
CIE-LABlab(33.85, 14.75, -44.65)
CIE-LCHlch(33.85, 47.02, 288.28°)
OKLaboklab(43.49% -0.0127 -0.1281)
OKLCHoklch(43.49% 0.129 264.3)
XYZxyz(9.2071, 7.9378, 30.3191)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C97 #97772C
analogous
#2C8197 #2C4C97 #412C97
triadic
#2C4C97 #972C4C #4C972C
tetradic
#2C4C97 #972C81 #97772C #2C9741
square
#2C4C97 #972C81 #97772C #2C9741
split-complementary
#2C4C97 #97412C #81972C
monochromatic
#101C38 #1E3468 #2C4C97 #3A64C6 #6A89D4

Accessibility & contrast

On white

8.12
#2C4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2C4C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C97
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C97#FFFFFF#000000##FFFFFF
##2C4C971.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#034B95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4c97;
/* rgb */ color: rgb(44, 76, 151);
/* oklch */ color: oklch(43.5% 0.129 264.3);
Tailwind
colors: {
  custom: {
    50: '#737db6',
    500: '#2c4c97',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c97;
$custom-light: #737db6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c97",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 222.056,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43489,
    "c": 0.1287,
    "h": 264.3
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#2C4C97
secondary
#BAA165
accent
#B24ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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