#2C4E93#2C4E93

#2C4E93 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.120 H 262.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2C4E93
RGBrgb(44, 78, 147)
HSLhsl(220, 54%, 37%)
HSVhsv(220, 70%, 58%)
CMYKcmyk(70.1%, 46.9%, 0%, 42.4%)
CIE-LABlab(34.17, 11.88, -41.71)
CIE-LCHlch(34.17, 43.37, 285.90°)
OKLaboklab(43.65% -0.0153 -0.1194)
OKLCHoklch(43.65% 0.12 262.7)
XYZxyz(9.0277, 8.0899, 28.6838)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E93 #93712C
analogous
#2C8293 #2C4E93 #3D2C93
triadic
#2C4E93 #932C4E #4E932C
tetradic
#2C4E93 #932C82 #93712C #2C933D
square
#2C4E93 #932C82 #93712C #2C933D
split-complementary
#2C4E93 #933D2C #82932C
monochromatic
#101C35 #1E3564 #2C4E93 #3A67C2 #688BD2

Accessibility & contrast

On white

8.02
#2C4E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2C4E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E93
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E93#FFFFFF#000000##FFFFFF
##2C4E931.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5596
Deuteranopia (green-blind)
#174C92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4e93;
/* rgb */ color: rgb(44, 78, 147);
/* oklch */ color: oklch(43.6% 0.120 262.7);
Tailwind
colors: {
  custom: {
    50: '#727fb3',
    500: '#2c4e93',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e93;
$custom-light: #727fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e93",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 220.194,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43646,
    "c": 0.12037,
    "h": 262.7
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#2C4E93
secondary
#B89C63
accent
#AD4ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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