#2C4D93#2C4D93

#2C4D93 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.4% C 0.122 H 263.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2C4D93
RGBrgb(44, 77, 147)
HSLhsl(221, 54%, 37%)
HSVhsv(221, 70%, 58%)
CMYKcmyk(70.1%, 47.6%, 0%, 42.4%)
CIE-LABlab(33.88, 12.55, -42.18)
CIE-LCHlch(33.88, 44.01, 286.57°)
OKLaboklab(43.42% -0.0143 -0.1208)
OKLCHoklch(43.42% 0.122 263.3)
XYZxyz(8.9572, 7.9489, 28.6603)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D93 #93722C
analogous
#2C8093 #2C4D93 #3F2C93
triadic
#2C4D93 #932C4D #4D932C
tetradic
#2C4D93 #932C80 #93722C #2C933F
square
#2C4D93 #932C80 #93722C #2C933F
split-complementary
#2C4D93 #933F2C #80932C
monochromatic
#101C35 #1E3464 #2C4D93 #3A66C2 #688AD2

Accessibility & contrast

On white

8.11
#2C4D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4D93
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D93#FFFFFF#000000##FFFFFF
##2C4D931.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295596
Deuteranopia (green-blind)
#134B92
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4d93;
/* rgb */ color: rgb(44, 77, 147);
/* oklch */ color: oklch(43.4% 0.122 263.3);
Tailwind
colors: {
  custom: {
    50: '#727eb3',
    500: '#2c4d93',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d93;
$custom-light: #727eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d93",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 147
  },
  "hsl": {
    "h": 220.777,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.12164,
    "h": 263.3
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#2C4D93
secondary
#B89D63
accent
#AE4ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4D93

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

Preview Lab → · Contrast checker → · Palette generator →

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