#2C4886#2C4886

#2C4886 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.109 H 264.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2C4886
RGBrgb(44, 72, 134)
HSLhsl(221, 51%, 35%)
HSVhsv(221, 67%, 53%)
CMYKcmyk(67.2%, 46.3%, 0%, 47.5%)
CIE-LABlab(31.56, 10.96, -37.93)
CIE-LCHlch(31.56, 39.49, 286.12°)
OKLaboklab(41.37% -0.0114 -0.1084)
OKLCHoklch(41.37% 0.109 264)
XYZxyz(7.6576, 6.8907, 23.4761)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4886 #866A2C
analogous
#2C7586 #2C4886 #3D2C86
triadic
#2C4886 #862C48 #48862C
tetradic
#2C4886 #862C75 #866A2C #2C863D
square
#2C4886 #862C75 #866A2C #2C863D
split-complementary
#2C4886 #863D2C #75862C
monochromatic
#0E162A #1D2F58 #2C4886 #3B61B4 #6182CB

Accessibility & contrast

On white

8.83
#2C4886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C4886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4886
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4886#FFFFFF#000000##FFFFFF
##2C48861.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F88
Deuteranopia (green-blind)
#1B4685
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4886;
/* rgb */ color: rgb(44, 72, 134);
/* oklch */ color: oklch(41.4% 0.109 264.0);
Tailwind
colors: {
  custom: {
    50: '#6f7aaa',
    500: '#2c4886',
    950: '#000000',
  },
}
SCSS
$custom: #2c4886;
$custom-light: #6f7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4886",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 134
  },
  "hsl": {
    "h": 221.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41368,
    "c": 0.10899,
    "h": 264
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#2C4886
secondary
#B1975C
accent
#AE4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4886

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

Preview Lab → · Contrast checker → · Palette generator →

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